HSL(42, 80%, 30%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,80%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 80%, 30%) | color: hsl(42, 80%, 30%) | |
| HEX | #8A650F | color: #8A650F | |
| RGB | rgb(138, 101, 15) | color: rgb(138, 101, 15) | |
| CMYK | cmyk(0%, 27%, 89%, 46%) | — | |
| HSV | hsv(42, 89%, 54%) | — | |
| HWB | hwb(42 6% 46%) | color: hwb(42 6% 46%) | |
| OKLCH | oklch(0.531 0.1045 81.98) | color: oklch(0.531 0.1045 81.98) | |
| Lab | lab(45.28 7.37 48.85) | color: lab(45.28 7.37 48.85) | |
| LCH | lch(45.28 49.4 81.42) | color: lch(45.28 49.4 81.42) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#7A7A24 — rgb(122, 122, 36)
Deuteranopia (Green-blind)
#7C7F29 — rgb(124, 127, 41)
Tritanopia (Blue-blind)
#883438 — rgb(136, 52, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 80%, 30%);
text
color: hsl(42, 80%, 30%);
border
border: 2px solid hsl(42, 80%, 30%);
gradient light
background: linear-gradient(to right, hsl(42, 80%, 50%), hsl(42, 80%, 30%));
gradient dark
background: linear-gradient(to right, hsl(42, 80%, 30%), hsl(42, 80%, 10%))
hex
background-color: #8A650F;
tailwind
bg-[hsl(42,80%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 80%, 30%, 0.4);
css variable
--color-primary: hsl(42, 80%, 30%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 80%, 30%)?
HEX: #8A650F | RGB: rgb(138, 101, 15) | CMYK: 0%, 27%, 89%, 46% | HSV: 42°, 89%, 54%. Copy any format from the conversion table above.
What colors go well with #8A650F?
The complementary color is HSL(222, 80%, 30%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 80%, 30%) in CSS?
As HSL: color: hsl(42, 80%, 30%); — As HEX: color: #8A650F; — As RGB: color: rgb(138, 101, 15); — Tailwind CSS: bg-[hsl(42,80%,30%)] — CSS variable: --color-primary: hsl(42, 80%, 30%);