#D2B239#D2B239
#D2B239 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.139 H 93.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B239 |
|---|---|
| RGB | rgb(210, 178, 57) |
| HSL | hsl(47, 63%, 52%) |
| HSV | hsv(47, 73%, 82%) |
| CMYK | cmyk(0%, 15.2%, 72.9%, 17.6%) |
| CIE-LAB | lab(73.44, -0.98, 62.67) |
| CIE-LCH | lch(73.44, 62.68, 90.89°) |
| OKLab | oklab(77.08% -0.009 0.1386) |
| OKLCH | oklch(77.08% 0.139 93.7) |
| XYZ | xyz(43.2396, 45.8403, 10.4407) |
| Luminance | 0.4584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.31
Dark Yellow
#D5B60A
ΔE00 3.40
Gold (survey)
#DBB40C
ΔE00 3.42
Mustard (survey)
#CEB301
ΔE00 3.62
Burnt Yellow
#D5AB09
ΔE00 3.70
Brownish Yellow
#C9B003
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B239 #3959D2
analogous
#D26639 #D2B239 #A6D239
triadic
#D2B239 #39D2B2 #B239D2
tetradic
#D2B239 #39D266 #3959D2 #D239A6
square
#D2B239 #39D266 #3959D2 #D239A6
split-complementary
#D2B239 #39A6D2 #6639D2
monochromatic
#76631B #A88D26 #D2B239 #DDC56B #E9D99D
Accessibility & contrast
On white
2.07
#D2B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#D2B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B239
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B239 | 1.00 | 2.07 | 10.17 | 10.17 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF26
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E3A49A
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #d2b239; /* rgb */ color: rgb(210, 178, 57); /* oklch */ color: oklch(77.1% 0.139 93.7);
Tailwind
colors: {
custom: {
50: '#e4c877',
500: '#d2b239',
950: '#000000',
},
}SCSS
$custom: #d2b239; $custom-light: #e4c877; $custom-dark: #000000;
JSON
{
"hex": "#d2b239",
"rgb": {
"r": 210,
"g": 178,
"b": 57
},
"hsl": {
"h": 47.451,
"s": 62.963,
"l": 52.353
},
"oklch": {
"l": 0.7708,
"c": 0.13889,
"h": 93.7
},
"luminance": 0.45838
}Semantic roles & 50–950 ramp
primary
#D2B239
secondary
#92A0D5
accent
#64E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B