HSL(42, 71%, 25%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,71%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 71%, 25%) | color: hsl(42, 71%, 25%) | |
| HEX | #6D5212 | color: #6D5212 | |
| RGB | rgb(109, 82, 18) | color: rgb(109, 82, 18) | |
| CMYK | cmyk(0%, 25%, 83%, 57%) | — | |
| HSV | hsv(42, 83%, 43%) | — | |
| HWB | hwb(42 7% 57%) | color: hwb(42 7% 57%) | |
| OKLCH | oklch(0.4553 0.0852 84.02) | color: oklch(0.4553 0.0852 84.02) | |
| Lab | lab(36.61 4.72 39.05) | color: lab(36.61 4.72 39.05) | |
| LCH | lch(36.61 39.33 83.11) | color: lch(36.61 39.33 83.11) |
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)
#616121 — rgb(97, 97, 33)
Deuteranopia (Green-blind)
#636525 — rgb(99, 101, 37)
Tritanopia (Blue-blind)
#6C2E30 — rgb(108, 46, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 71%, 25%);
text
color: hsl(42, 71%, 25%);
border
border: 2px solid hsl(42, 71%, 25%);
gradient light
background: linear-gradient(to right, hsl(42, 71%, 45%), hsl(42, 71%, 25%));
gradient dark
background: linear-gradient(to right, hsl(42, 71%, 25%), hsl(42, 71%, 5%))
hex
background-color: #6D5212;
tailwind
bg-[hsl(42,71%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 71%, 25%, 0.4);
css variable
--color-primary: hsl(42, 71%, 25%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 71%, 25%)?
HEX: #6D5212 | RGB: rgb(109, 82, 18) | CMYK: 0%, 25%, 83%, 57% | HSV: 42°, 83%, 43%. Copy any format from the conversion table above.
What colors go well with #6D5212?
The complementary color is HSL(222, 71%, 25%). 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, 71%, 25%) in CSS?
As HSL: color: hsl(42, 71%, 25%); — As HEX: color: #6D5212; — As RGB: color: rgb(109, 82, 18); — Tailwind CSS: bg-[hsl(42,71%,25%)] — CSS variable: --color-primary: hsl(42, 71%, 25%);