#D2D2AF#D2D2AF
#D2D2AF is a very light, muted yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.047 H 107.4°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D2AF |
|---|---|
| RGB | rgb(210, 210, 175) |
| HSL | hsl(60, 28%, 75%) |
| HSV | hsv(60, 17%, 82%) |
| CMYK | cmyk(0%, 0%, 16.7%, 17.6%) |
| CIE-LAB | lab(83.38, -5.84, 17.40) |
| CIE-LCH | lch(83.38, 18.35, 108.57°) |
| OKLab | oklab(85.47% -0.014 0.0447) |
| OKLCH | oklch(85.47% 0.047 107.4) |
| XYZ | xyz(57.3622, 62.8905, 49.6663) |
| Luminance | 0.6289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 6.21
Palegoldenrod
#EEE8AA
ΔE00 8.24
Vanilla
#F3E5AB
ΔE00 8.42
Eggshell
#F0EAD6
ΔE00 8.52
Beige
#F5F5DC
ΔE00 8.58
Lightgoldenrodyellow
#FAFAD2
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D2AF #AFAFD2
analogous
#D2C0AF #D2D2AF #C0D2AF
triadic
#D2D2AF #AFD2D2 #D2AFD2
tetradic
#D2D2AF #AFD2C0 #AFAFD2 #D2AFC0
square
#D2D2AF #AFD2C0 #AFAFD2 #D2AFC0
split-complementary
#D2D2AF #AFC0D2 #C0AFD2
monochromatic
#A6A661 #BCBC88 #D2D2AF #E8E8D6 #F4F4EB
Accessibility & contrast
On white
1.55
#D2D2AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.58
#D2D2AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D2AF
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D2AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D2AF | 1.00 | 1.55 | 13.58 | 13.58 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8CFAD
Deuteranopia (green-blind)
#D9D1B0
Tritanopia (blue-blind)
#D7CDC8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #d2d2af; /* rgb */ color: rgb(210, 210, 175); /* oklch */ color: oklch(85.5% 0.047 107.4);
Tailwind
colors: {
custom: {
50: '#e0dfc7',
500: '#d2d2af',
950: '#000000',
},
}SCSS
$custom: #d2d2af; $custom-light: #e0dfc7; $custom-dark: #000000;
JSON
{
"hex": "#d2d2af",
"rgb": {
"r": 210,
"g": 210,
"b": 175
},
"hsl": {
"h": 60,
"s": 28,
"l": 75.49
},
"oklch": {
"l": 0.85468,
"c": 0.04684,
"h": 107.4
},
"luminance": 0.6289
}Semantic roles & 50–950 ramp
primary
#D2D2AF
secondary
#7D7DA8
accent
#3FA73F
background
#FEFEFD
surface
#FCFCF9
border
#D5D5D2
text
#151513
muted
#848482