#DCAF2D#DCAF2D
#DCAF2D is a light, vivid orange. Relative luminance 0.461; OKLCH L 77.4% C 0.146 H 88.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #DCAF2D |
|---|---|
| RGB | rgb(220, 175, 45) |
| HSL | hsl(45, 71%, 52%) |
| HSV | hsv(45, 80%, 86%) |
| CMYK | cmyk(0%, 20.5%, 79.5%, 13.7%) |
| CIE-LAB | lab(73.59, 4.46, 67.39) |
| CIE-LCH | lch(73.59, 67.53, 86.21°) |
| OKLab | oklab(77.4% 0.0048 0.1458) |
| OKLCH | oklch(77.4% 0.146 88.1) |
| XYZ | xyz(45.3217, 46.0682, 8.9871) |
| Luminance | 0.4607 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.15
Burnt Yellow
#D5AB09
ΔE00 2.35
Gold (survey)
#DBB40C
ΔE00 3.22
Goldenrod
#DAA520
ΔE00 3.24
Macaroni And Cheese
#EFB435
ΔE00 4.27
Dark Yellow
#D5B60A
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCAF2D #2D5ADC
analogous
#DC572D #DCAF2D #B2DC2D
triadic
#DCAF2D #2DDCAF #AF2DDC
tetradic
#DCAF2D #2DDC57 #2D5ADC #DC2DB2
square
#DCAF2D #2DDC57 #2D5ADC #DC2DB2
split-complementary
#DCAF2D #2DB2DC #572DDC
monochromatic
#7A6014 #AF891D #DCAF2D #E5C361 #EDD796
Accessibility & contrast
On white
2.06
#DCAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#DCAF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCAF2D
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCAF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCAF2D | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE0D
Deuteranopia (green-blind)
#CFBA35
Tritanopia (blue-blind)
#EF9F97
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #dcaf2d; /* rgb */ color: rgb(220, 175, 45); /* oklch */ color: oklch(77.4% 0.146 88.1);
Tailwind
colors: {
custom: {
50: '#ecc671',
500: '#dcaf2d',
950: '#000000',
},
}SCSS
$custom: #dcaf2d; $custom-light: #ecc671; $custom-dark: #000000;
JSON
{
"hex": "#dcaf2d",
"rgb": {
"r": 220,
"g": 175,
"b": 45
},
"hsl": {
"h": 44.571,
"s": 71.429,
"l": 51.961
},
"oklch": {
"l": 0.77401,
"c": 0.14588,
"h": 88.1
},
"luminance": 0.46065
}Semantic roles & 50–950 ramp
primary
#DCAF2D
secondary
#8CA0D9
accent
#68EE3A
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171208
muted
#85817B