#D1B342#D1B342
#D1B342 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.133 H 94.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #D1B342 |
|---|---|
| RGB | rgb(209, 179, 66) |
| HSL | hsl(47, 61%, 54%) |
| HSV | hsv(47, 68%, 82%) |
| CMYK | cmyk(0%, 14.4%, 68.4%, 18%) |
| CIE-LAB | lab(73.67, -1.48, 59.29) |
| CIE-LCH | lch(73.67, 59.31, 91.43°) |
| OKLab | oklab(77.26% -0.0093 0.1331) |
| OKLCH | oklch(77.26% 0.133 94) |
| XYZ | xyz(43.4001, 46.1912, 11.7830) |
| Luminance | 0.4619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.12
Dark Yellow
#D5B60A
ΔE00 4.13
Mustard (survey)
#CEB301
ΔE00 4.25
Brownish Yellow
#C9B003
ΔE00 4.32
Gold (survey)
#DBB40C
ΔE00 4.33
Burnt Yellow
#D5AB09
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1B342 #4260D1
analogous
#D16C42 #D1B342 #A7D142
triadic
#D1B342 #42D1B3 #B342D1
tetradic
#D1B342 #42D16C #4260D1 #D142A7
square
#D1B342 #42D16C #4260D1 #D142A7
split-complementary
#D1B342 #42A7D1 #6C42D1
monochromatic
#7B671E #AC912A #D1B342 #DDC773 #E9DBA4
Accessibility & contrast
On white
2.05
#D1B342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#D1B342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1B342
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1B342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1B342 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E1A59C
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d1b342; /* rgb */ color: rgb(209, 179, 66); /* oklch */ color: oklch(77.3% 0.133 94.0);
Tailwind
colors: {
custom: {
50: '#e3c97c',
500: '#d1b342',
950: '#000000',
},
}SCSS
$custom: #d1b342; $custom-light: #e3c97c; $custom-dark: #000000;
JSON
{
"hex": "#d1b342",
"rgb": {
"r": 209,
"g": 179,
"b": 66
},
"hsl": {
"h": 47.413,
"s": 60.851,
"l": 53.922
},
"oklch": {
"l": 0.77258,
"c": 0.13345,
"h": 94
},
"luminance": 0.46189
}Semantic roles & 50–950 ramp
primary
#D1B342
secondary
#99A6D6
accent
#65E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C