#D5791F#D5791F
#D5791F is a light, vivid orange. Relative luminance 0.279; OKLCH L 66.5% C 0.148 H 58.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D5791F |
|---|---|
| RGB | rgb(213, 121, 31) |
| HSL | hsl(30, 75%, 48%) |
| HSV | hsv(30, 85%, 84%) |
| CMYK | cmyk(0%, 43.2%, 85.4%, 16.5%) |
| CIE-LAB | lab(59.82, 29.96, 59.74) |
| CIE-LCH | lch(59.82, 66.83, 63.37°) |
| OKLab | oklab(66.47% 0.0779 0.126) |
| OKLCH | oklch(66.47% 0.148 58.3) |
| XYZ | xyz(34.5285, 27.9237, 4.8675) |
| Luminance | 0.2792 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Brownish Orange
#CB7723
ΔE00 2.08
Pumpkin (survey)
#E17701
ΔE00 2.64
Bronze
#CD7F32
ΔE00 2.82
Dull Orange
#D8863B
ΔE00 3.88
Dirty Orange
#C87606
ΔE00 4.02
Browny Orange
#CA6B02
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5791F #1F7BD5
analogous
#D51F20 #D5791F #D5D41F
triadic
#D5791F #1FD579 #791FD5
tetradic
#D5791F #20D51F #1F7BD5 #D41FD5
square
#D5791F #20D51F #1F7BD5 #D41FD5
split-complementary
#D5791F #1FD5D4 #1F20D5
monochromatic
#6A3C0F #A05B17 #D5791F #E5984C #EDB782
Accessibility & contrast
On white
3.19
#D5791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#D5791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D5791F
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5791F | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958309
Deuteranopia (green-blind)
#AB981F
Tritanopia (blue-blind)
#E96468
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d5791f; /* rgb */ color: rgb(213, 121, 31); /* oklch */ color: oklch(66.5% 0.148 58.3);
Tailwind
colors: {
custom: {
50: '#e9a064',
500: '#d5791f',
950: '#000000',
},
}SCSS
$custom: #d5791f; $custom-light: #e9a064; $custom-dark: #000000;
JSON
{
"hex": "#d5791f",
"rgb": {
"r": 213,
"g": 121,
"b": 31
},
"hsl": {
"h": 29.67,
"s": 74.59,
"l": 47.843
},
"oklch": {
"l": 0.66468,
"c": 0.14815,
"h": 58.3
},
"luminance": 0.2792
}Semantic roles & 50–950 ramp
primary
#D5791F
secondary
#7AA8D5
accent
#95F137
background
#FFF9F6
surface
#FFF2EB
border
#D7CCC6
text
#180F06
muted
#867E7A