#D2B558#D2B558
#D2B558 is a light, moderate yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.117 H 92.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B558 |
|---|---|
| RGB | rgb(210, 181, 88) |
| HSL | hsl(46, 58%, 58%) |
| HSV | hsv(46, 58%, 82%) |
| CMYK | cmyk(0%, 13.8%, 58.1%, 17.6%) |
| CIE-LAB | lab(74.48, -0.69, 50.40) |
| CIE-LCH | lch(74.48, 50.41, 90.79°) |
| OKLab | oklab(77.99% -0.0045 0.1173) |
| OKLCH | oklch(77.99% 0.117 92.2) |
| XYZ | xyz(44.8656, 47.4562, 16.0274) |
| Luminance | 0.4745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.40
Tan (survey)
#D1B26F
ΔE00 4.73
Mustard
#DBB42C
ΔE00 5.14
Sand (survey)
#E2CA76
ΔE00 5.56
Sandy Brown
#C4A661
ΔE00 5.67
Sandstone
#C9AE74
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B558 #5875D2
analogous
#D27858 #D2B558 #B2D258
triadic
#D2B558 #58D2B5 #B558D2
tetradic
#D2B558 #58D278 #5875D2 #D258B2
square
#D2B558 #58D278 #5875D2 #D258B2
split-complementary
#D2B558 #58B2D2 #7858D2
monochromatic
#8A7225 #BB9A32 #D2B558 #DFCA88 #ECE0B8
Accessibility & contrast
On white
2.00
#D2B558 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#D2B558 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B558
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B558 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B558 | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B24F
Deuteranopia (green-blind)
#CDBB5C
Tritanopia (blue-blind)
#E1A8A0
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #d2b558; /* rgb */ color: rgb(210, 181, 88); /* oklch */ color: oklch(78.0% 0.117 92.2);
Tailwind
colors: {
custom: {
50: '#e3ca8a',
500: '#d2b558',
950: '#000000',
},
}SCSS
$custom: #d2b558; $custom-light: #e3ca8a; $custom-dark: #000000;
JSON
{
"hex": "#d2b558",
"rgb": {
"r": 210,
"g": 181,
"b": 88
},
"hsl": {
"h": 45.738,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.77985,
"c": 0.11739,
"h": 92.2
},
"luminance": 0.47454
}Semantic roles & 50–950 ramp
primary
#D2B558
secondary
#ABB6DB
accent
#6CE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D