HSL(42, 25%, 54%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,25%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 25%, 54%) | color: hsl(42, 25%, 54%) | |
| HEX | #A7956C | color: #A7956C | |
| RGB | rgb(167, 149, 108) | color: rgb(167, 149, 108) | |
| CMYK | cmyk(0%, 11%, 35%, 35%) | — | |
| HSV | hsv(42, 35%, 65%) | — | |
| HWB | hwb(42 42% 35%) | color: hwb(42 42% 35%) | |
| OKLCH | oklch(0.6755 0.0603 86.97) | color: oklch(0.6755 0.0603 86.97) | |
| Lab | lab(62.33 0.47 24.13) | color: lab(62.33 0.47 24.13) | |
| LCH | lch(62.33 24.13 88.88) | color: lch(62.33 24.13 88.88) |
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)
#9F9F76 — rgb(159, 159, 118)
Deuteranopia (Green-blind)
#A0A278 — rgb(160, 162, 120)
Tritanopia (Blue-blind)
#A67E7F — rgb(166, 126, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 25%, 54%);
text
color: hsl(42, 25%, 54%);
border
border: 2px solid hsl(42, 25%, 54%);
gradient light
background: linear-gradient(to right, hsl(42, 25%, 74%), hsl(42, 25%, 54%));
gradient dark
background: linear-gradient(to right, hsl(42, 25%, 54%), hsl(42, 25%, 34%))
hex
background-color: #A7956C;
tailwind
bg-[hsl(42,25%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 25%, 54%, 0.4);
css variable
--color-primary: hsl(42, 25%, 54%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 25%, 54%)?
HEX: #A7956C | RGB: rgb(167, 149, 108) | CMYK: 0%, 11%, 35%, 35% | HSV: 42°, 35%, 65%. Copy any format from the conversion table above.
What colors go well with #A7956C?
The complementary color is HSL(222, 25%, 54%). 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, 25%, 54%) in CSS?
As HSL: color: hsl(42, 25%, 54%); — As HEX: color: #A7956C; — As RGB: color: rgb(167, 149, 108); — Tailwind CSS: bg-[hsl(42,25%,54%)] — CSS variable: --color-primary: hsl(42, 25%, 54%);