#DFAF45#DFAF45
#DFAF45 is a light, vivid orange. Relative luminance 0.468; OKLCH L 77.9% C 0.133 H 84.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #DFAF45 |
|---|---|
| RGB | rgb(223, 175, 69) |
| HSL | hsl(41, 71%, 57%) |
| HSV | hsv(41, 69%, 87%) |
| CMYK | cmyk(0%, 21.5%, 69.1%, 12.5%) |
| CIE-LAB | lab(74.05, 6.79, 58.86) |
| CIE-LCH | lch(74.05, 59.25, 83.42°) |
| OKLab | oklab(77.88% 0.014 0.1322) |
| OKLCH | oklch(77.88% 0.133 84) |
| XYZ | xyz(46.8383, 46.7808, 12.1917) |
| Luminance | 0.4678 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 3.54
Goldenrod
#DAA520
ΔE00 3.56
Mustard
#DBB42C
ΔE00 4.59
Burnt Yellow
#D5AB09
ΔE00 5.12
Desert
#CCAD60
ΔE00 5.70
Squash
#F2AB15
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DFAF45 #4575DF
analogous
#DF6245 #DFAF45 #C2DF45
triadic
#DFAF45 #45DFAF #AF45DF
tetradic
#DFAF45 #45DF62 #4575DF #DF45C2
square
#DFAF45 #45DF62 #4575DF #DF45C2
split-complementary
#DFAF45 #45C2DF #6245DF
monochromatic
#916B19 #C59222 #DFAF45 #E8C579 #F1DCAD
Accessibility & contrast
On white
2.03
#DFAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.36
#DFAF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DFAF45
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DFAF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DFAF45 | 1.00 | 2.03 | 10.36 | 10.36 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF38
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#F1A099
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #dfaf45; /* rgb */ color: rgb(223, 175, 69); /* oklch */ color: oklch(77.9% 0.133 84.0);
Tailwind
colors: {
custom: {
50: '#edc67e',
500: '#dfaf45',
950: '#000000',
},
}SCSS
$custom: #dfaf45; $custom-light: #edc67e; $custom-dark: #000000;
JSON
{
"hex": "#dfaf45",
"rgb": {
"r": 223,
"g": 175,
"b": 69
},
"hsl": {
"h": 41.299,
"s": 70.642,
"l": 57.255
},
"oklch": {
"l": 0.77881,
"c": 0.13297,
"h": 84
},
"luminance": 0.46778
}Semantic roles & 50–950 ramp
primary
#DFAF45
secondary
#A1B4DF
accent
#72ED3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C