HSL(42, 55%, 55%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,55%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 55%, 55%) | color: hsl(42, 55%, 55%) | |
| HEX | #CBA54D | color: #CBA54D | |
| RGB | rgb(203, 165, 77) | color: rgb(203, 165, 77) | |
| CMYK | cmyk(0%, 19%, 62%, 20%) | — | |
| HSV | hsv(42, 62%, 80%) | — | |
| HWB | hwb(42 30% 20%) | color: hwb(42 30% 20%) | |
| OKLCH | oklch(0.7392 0.1152 85.85) | color: oklch(0.7392 0.1152 85.85) | |
| Lab | lab(69.57 4.04 49.84) | color: lab(69.57 4.04 49.84) | |
| LCH | lch(69.57 50 85.37) | color: lch(69.57 50 85.37) |
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)
#BBBA62 — rgb(187, 186, 98)
Deuteranopia (Green-blind)
#BDC067 — rgb(189, 192, 103)
Tritanopia (Blue-blind)
#C97377 — rgb(201, 115, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 55%, 55%);
text
color: hsl(42, 55%, 55%);
border
border: 2px solid hsl(42, 55%, 55%);
gradient light
background: linear-gradient(to right, hsl(42, 55%, 75%), hsl(42, 55%, 55%));
gradient dark
background: linear-gradient(to right, hsl(42, 55%, 55%), hsl(42, 55%, 35%))
hex
background-color: #CBA54D;
tailwind
bg-[hsl(42,55%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 55%, 55%, 0.4);
css variable
--color-primary: hsl(42, 55%, 55%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 55%, 55%)?
HEX: #CBA54D | RGB: rgb(203, 165, 77) | CMYK: 0%, 19%, 62%, 20% | HSV: 42°, 62%, 80%. Copy any format from the conversion table above.
What colors go well with #CBA54D?
The complementary color is HSL(222, 55%, 55%). 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, 55%, 55%) in CSS?
As HSL: color: hsl(42, 55%, 55%); — As HEX: color: #CBA54D; — As RGB: color: rgb(203, 165, 77); — Tailwind CSS: bg-[hsl(42,55%,55%)] — CSS variable: --color-primary: hsl(42, 55%, 55%);