#D2B652#D2B652
#D2B652 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.123 H 93.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D2B652 |
|---|---|
| RGB | rgb(210, 182, 82) |
| HSL | hsl(47, 59%, 57%) |
| HSV | hsv(47, 61%, 82%) |
| CMYK | cmyk(0%, 13.3%, 61%, 17.6%) |
| CIE-LAB | lab(74.68, -1.65, 53.42) |
| CIE-LCH | lch(74.68, 53.44, 91.77°) |
| OKLab | oklab(78.12% -0.008 0.123) |
| OKLCH | oklch(78.12% 0.123 93.7) |
| XYZ | xyz(44.8313, 47.7690, 14.8399) |
| Luminance | 0.4777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.41
Mustard
#DBB42C
ΔE00 4.52
Dark Yellow
#D5B60A
ΔE00 5.68
Sand (survey)
#E2CA76
ΔE00 5.68
Tan (survey)
#D1B26F
ΔE00 5.81
Mustard (survey)
#CEB301
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2B652 #526ED2
analogous
#D27652 #D2B652 #AED252
triadic
#D2B652 #52D2B6 #B652D2
tetradic
#D2B652 #52D276 #526ED2 #D252AE
square
#D2B652 #52D276 #526ED2 #D252AE
split-complementary
#D2B652 #52AED2 #7652D2
monochromatic
#877123 #B79A30 #D2B652 #DFCA83 #EBDFB3
Accessibility & contrast
On white
1.99
#D2B652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#D2B652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2B652
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2B652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2B652 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#E2A9A0
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d2b652; /* rgb */ color: rgb(210, 182, 82); /* oklch */ color: oklch(78.1% 0.123 93.7);
Tailwind
colors: {
custom: {
50: '#e3cb86',
500: '#d2b652',
950: '#000000',
},
}SCSS
$custom: #d2b652; $custom-light: #e3cb86; $custom-dark: #000000;
JSON
{
"hex": "#d2b652",
"rgb": {
"r": 210,
"g": 182,
"b": 82
},
"hsl": {
"h": 46.875,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.78122,
"c": 0.12329,
"h": 93.7
},
"luminance": 0.47767
}Semantic roles & 50–950 ramp
primary
#D2B652
secondary
#A6B1DA
accent
#68E246
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C