HSL(42, 70%, 43%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,70%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 70%, 43%) | color: hsl(42, 70%, 43%) | |
| HEX | #BA8C21 | color: #BA8C21 | |
| RGB | rgb(186, 140, 33) | color: rgb(186, 140, 33) | |
| CMYK | cmyk(0%, 25%, 82%, 27%) | — | |
| HSV | hsv(42, 82%, 73%) | — | |
| HWB | hwb(42 13% 27%) | color: hwb(42 13% 27%) | |
| OKLCH | oklch(0.6672 0.1274 83.06) | color: oklch(0.6672 0.1274 83.06) | |
| Lab | lab(61.05 7.95 58.83) | color: lab(61.05 7.95 58.83) | |
| LCH | lch(61.05 59.36 82.3) | color: lch(61.05 59.36 82.3) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A6A63B — rgb(166, 166, 59)
Deuteranopia (Green-blind)
#A9AC41 — rgb(169, 172, 65)
Tritanopia (Blue-blind)
#B84F54 — rgb(184, 79, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 70%, 43%);
text
color: hsl(42, 70%, 43%);
border
border: 2px solid hsl(42, 70%, 43%);
gradient light
background: linear-gradient(to right, hsl(42, 70%, 63%), hsl(42, 70%, 43%));
gradient dark
background: linear-gradient(to right, hsl(42, 70%, 43%), hsl(42, 70%, 23%))
hex
background-color: #BA8C21;
tailwind
bg-[hsl(42,70%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 70%, 43%, 0.4);
css variable
--color-primary: hsl(42, 70%, 43%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 70%, 43%)?
HEX: #BA8C21 | RGB: rgb(186, 140, 33) | CMYK: 0%, 25%, 82%, 27% | HSV: 42°, 82%, 73%. Copy any format from the conversion table above.
What colors go well with #BA8C21?
The complementary color is HSL(222, 70%, 43%). 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, 70%, 43%) in CSS?
As HSL: color: hsl(42, 70%, 43%); — As HEX: color: #BA8C21; — As RGB: color: rgb(186, 140, 33); — Tailwind CSS: bg-[hsl(42,70%,43%)] — CSS variable: --color-primary: hsl(42, 70%, 43%);