HSL(30, 70%, 50%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(30,70%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(30, 70%, 50%) | color: hsl(30, 70%, 50%) | |
| HEX | #D98026 | color: #D98026 | |
| RGB | rgb(217, 128, 38) | color: rgb(217, 128, 38) | |
| CMYK | cmyk(0%, 41%, 82%, 15%) | — | |
| HSV | hsv(30, 82%, 85%) | — | |
| HWB | hwb(30 15% 15%) | color: hwb(30 15% 15%) | |
| OKLCH | oklch(0.6823 0.1462 60.08) | color: oklch(0.6823 0.1462 60.08) | |
| Lab | lab(61.94 28.1 59.32) | color: lab(61.94 28.1 59.32) | |
| LCH | lch(61.94 65.64 64.65) | color: lch(61.94 65.64 64.65) |
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)
#B2B23C — rgb(178, 178, 60)
Deuteranopia (Green-blind)
#B8BE41 — rgb(184, 190, 65)
Tritanopia (Blue-blind)
#D54D51 — rgb(213, 77, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(30, 70%, 50%);
text
color: hsl(30, 70%, 50%);
border
border: 2px solid hsl(30, 70%, 50%);
gradient light
background: linear-gradient(to right, hsl(30, 70%, 70%), hsl(30, 70%, 50%));
gradient dark
background: linear-gradient(to right, hsl(30, 70%, 50%), hsl(30, 70%, 30%))
hex
background-color: #D98026;
tailwind
bg-[hsl(30,70%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(30, 70%, 50%, 0.4);
css variable
--color-primary: hsl(30, 70%, 50%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(30, 70%, 50%)?
HEX: #D98026 | RGB: rgb(217, 128, 38) | CMYK: 0%, 41%, 82%, 15% | HSV: 30°, 82%, 85%. Copy any format from the conversion table above.
What colors go well with #D98026?
The complementary color is HSL(210, 70%, 50%). For a triadic harmony, use hues 30°, 150°, and 270°. For analogous combinations, try hues 0° and 60°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(30, 70%, 50%) in CSS?
As HSL: color: hsl(30, 70%, 50%); — As HEX: color: #D98026; — As RGB: color: rgb(217, 128, 38); — Tailwind CSS: bg-[hsl(30,70%,50%)] — CSS variable: --color-primary: hsl(30, 70%, 50%);