HSL(40, 80%, 38%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,80%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 80%, 38%) | color: hsl(40, 80%, 38%) | |
| HEX | #AE7B13 | color: #AE7B13 | |
| RGB | rgb(174, 123, 19) | color: rgb(174, 123, 19) | |
| CMYK | cmyk(0%, 29%, 89%, 32%) | — | |
| HSV | hsv(40, 89%, 68%) | — | |
| HWB | hwb(40 7% 32%) | color: hwb(40 7% 32%) | |
| OKLCH | oklch(0.6188 0.1239 78.23) | color: oklch(0.6188 0.1239 78.23) | |
| Lab | lab(55.29 11.6 57.57) | color: lab(55.29 11.6 57.57) | |
| LCH | lch(55.29 58.73 78.61) | color: lch(55.29 58.73 78.61) |
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)
#98972C — rgb(152, 151, 44)
Deuteranopia (Green-blind)
#9B9F32 — rgb(155, 159, 50)
Tritanopia (Blue-blind)
#AB4044 — rgb(171, 64, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 80%, 38%);
text
color: hsl(40, 80%, 38%);
border
border: 2px solid hsl(40, 80%, 38%);
gradient light
background: linear-gradient(to right, hsl(40, 80%, 58%), hsl(40, 80%, 38%));
gradient dark
background: linear-gradient(to right, hsl(40, 80%, 38%), hsl(40, 80%, 18%))
hex
background-color: #AE7B13;
tailwind
bg-[hsl(40,80%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 80%, 38%, 0.4);
css variable
--color-primary: hsl(40, 80%, 38%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 80%, 38%)?
HEX: #AE7B13 | RGB: rgb(174, 123, 19) | CMYK: 0%, 29%, 89%, 32% | HSV: 40°, 89%, 68%. Copy any format from the conversion table above.
What colors go well with #AE7B13?
The complementary color is HSL(220, 80%, 38%). 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, 80%, 38%) in CSS?
As HSL: color: hsl(40, 80%, 38%); — As HEX: color: #AE7B13; — As RGB: color: rgb(174, 123, 19); — Tailwind CSS: bg-[hsl(40,80%,38%)] — CSS variable: --color-primary: hsl(40, 80%, 38%);