HSL(42, 26%, 70%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,26%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 26%, 70%) | color: hsl(42, 26%, 70%) | |
| HEX | #C6BA9F | color: #C6BA9F | |
| RGB | rgb(198, 186, 159) | color: rgb(198, 186, 159) | |
| CMYK | cmyk(0%, 6%, 20%, 22%) | — | |
| HSV | hsv(42, 20%, 78%) | — | |
| HWB | hwb(42 62% 22%) | color: hwb(42 62% 22%) | |
| OKLCH | oklch(0.7917 0.0393 86.89) | color: oklch(0.7917 0.0393 86.89) | |
| Lab | lab(75.84 -0.18 15.23) | color: lab(75.84 -0.18 15.23) | |
| LCH | lch(75.84 15.23 90.68) | color: lch(75.84 15.23 90.68) |
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)
#C1C1A6 — rgb(193, 193, 166)
Deuteranopia (Green-blind)
#C2C2A7 — rgb(194, 194, 167)
Tritanopia (Blue-blind)
#C5ABAC — rgb(197, 171, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 26%, 70%);
text
color: hsl(42, 26%, 70%);
border
border: 2px solid hsl(42, 26%, 70%);
gradient light
background: linear-gradient(to right, hsl(42, 26%, 90%), hsl(42, 26%, 70%));
gradient dark
background: linear-gradient(to right, hsl(42, 26%, 70%), hsl(42, 26%, 50%))
hex
background-color: #C6BA9F;
tailwind
bg-[hsl(42,26%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 26%, 70%, 0.4);
css variable
--color-primary: hsl(42, 26%, 70%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 26%, 70%)?
HEX: #C6BA9F | RGB: rgb(198, 186, 159) | CMYK: 0%, 6%, 20%, 22% | HSV: 42°, 20%, 78%. Copy any format from the conversion table above.
What colors go well with #C6BA9F?
The complementary color is HSL(222, 26%, 70%). 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, 26%, 70%) in CSS?
As HSL: color: hsl(42, 26%, 70%); — As HEX: color: #C6BA9F; — As RGB: color: rgb(198, 186, 159); — Tailwind CSS: bg-[hsl(42,26%,70%)] — CSS variable: --color-primary: hsl(42, 26%, 70%);