#DAB442#DAB442
#DAB442 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.3% C 0.136 H 90.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #DAB442 |
|---|---|
| RGB | rgb(218, 180, 66) |
| HSL | hsl(45, 67%, 56%) |
| HSV | hsv(45, 70%, 85%) |
| CMYK | cmyk(0%, 17.4%, 69.7%, 14.5%) |
| CIE-LAB | lab(74.79, 1.86, 60.72) |
| CIE-LCH | lch(74.79, 60.75, 88.25°) |
| OKLab | oklab(78.34% -0.0003 0.1358) |
| OKLCH | oklch(78.34% 0.136 90.1) |
| XYZ | xyz(46.2206, 47.9441, 11.9728) |
| Luminance | 0.4794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.08
Gold (survey)
#DBB40C
ΔE00 3.76
Burnt Yellow
#D5AB09
ΔE00 3.92
Dark Yellow
#D5B60A
ΔE00 4.67
Goldenrod
#DAA520
ΔE00 5.30
Mustard (survey)
#CEB301
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DAB442 #4268DA
analogous
#DA6842 #DAB442 #B4DA42
triadic
#DAB442 #42DAB4 #B442DA
tetradic
#DAB442 #42DA68 #4268DA #DA42B4
square
#DAB442 #42DA68 #4268DA #DA42B4
split-complementary
#DAB442 #42B4DA #6842DA
monochromatic
#876C1A #BA9524 #DAB442 #E4C875 #EEDDA8
Accessibility & contrast
On white
1.98
#DAB442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#DAB442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DAB442
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DAB442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DAB442 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B233
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#ECA59D
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #dab442; /* rgb */ color: rgb(218, 180, 66); /* oklch */ color: oklch(78.3% 0.136 90.1);
Tailwind
colors: {
custom: {
50: '#e9ca7d',
500: '#dab442',
950: '#000000',
},
}SCSS
$custom: #dab442; $custom-light: #e9ca7d; $custom-dark: #000000;
JSON
{
"hex": "#dab442",
"rgb": {
"r": 218,
"g": 180,
"b": 66
},
"hsl": {
"h": 45,
"s": 67.257,
"l": 55.686
},
"oklch": {
"l": 0.78342,
"c": 0.13581,
"h": 90.1
},
"luminance": 0.47941
}Semantic roles & 50–950 ramp
primary
#DAB442
secondary
#9CACDB
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C