HSL(40, 30%, 48%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,30%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 30%, 48%) | color: hsl(40, 30%, 48%) | |
| HEX | #9F8756 | color: #9F8756 | |
| RGB | rgb(159, 135, 86) | color: rgb(159, 135, 86) | |
| CMYK | cmyk(0%, 15%, 46%, 38%) | — | |
| HSV | hsv(40, 46%, 62%) | — | |
| HWB | hwb(40 33% 38%) | color: hwb(40 33% 38%) | |
| OKLCH | oklch(0.634 0.0726 84.36) | color: oklch(0.634 0.0726 84.36) | |
| Lab | lab(57.44 2.29 29.67) | color: lab(57.44 2.29 29.67) | |
| LCH | lch(57.44 29.76 85.59) | color: lch(57.44 29.76 85.59) |
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)
#959462 — rgb(149, 148, 98)
Deuteranopia (Green-blind)
#969865 — rgb(150, 152, 101)
Tritanopia (Blue-blind)
#9E6B6D — rgb(158, 107, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 30%, 48%);
text
color: hsl(40, 30%, 48%);
border
border: 2px solid hsl(40, 30%, 48%);
gradient light
background: linear-gradient(to right, hsl(40, 30%, 68%), hsl(40, 30%, 48%));
gradient dark
background: linear-gradient(to right, hsl(40, 30%, 48%), hsl(40, 30%, 28%))
hex
background-color: #9F8756;
tailwind
bg-[hsl(40,30%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 30%, 48%, 0.4);
css variable
--color-primary: hsl(40, 30%, 48%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 30%, 48%)?
HEX: #9F8756 | RGB: rgb(159, 135, 86) | CMYK: 0%, 15%, 46%, 38% | HSV: 40°, 46%, 62%. Copy any format from the conversion table above.
What colors go well with #9F8756?
The complementary color is HSL(220, 30%, 48%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(40, 30%, 48%) in CSS?
As HSL: color: hsl(40, 30%, 48%); — As HEX: color: #9F8756; — As RGB: color: rgb(159, 135, 86); — Tailwind CSS: bg-[hsl(40,30%,48%)] — CSS variable: --color-primary: hsl(40, 30%, 48%);