#D2D95C#D2D95C
#D2D95C is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.148 H 112.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D95C |
|---|---|
| RGB | rgb(210, 217, 92) |
| HSL | hsl(63, 62%, 61%) |
| HSV | hsv(63, 58%, 85%) |
| CMYK | cmyk(3.2%, 0%, 57.6%, 14.9%) |
| CIE-LAB | lab(84.02, -18.73, 59.35) |
| CIE-LCH | lch(84.02, 62.24, 107.52°) |
| OKLab | oklab(85.58% -0.0556 0.1369) |
| OKLCH | oklch(85.58% 0.148 112.1) |
| XYZ | xyz(53.3243, 64.1012, 19.6869) |
| Luminance | 0.6410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.40
Sickly Yellow
#D0E429
ΔE00 5.43
Green Yellow
#B5CE08
ΔE00 6.39
Piss Yellow
#DDD618
ΔE00 6.49
Dull Yellow
#EEDC5B
ΔE00 6.50
Baby Puke Green
#B6C406
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D95C #635CD9
analogous
#D9A15C #D2D95C #93D95C
triadic
#D2D95C #5CD2D9 #D95CD2
tetradic
#D2D95C #5CD9A1 #635CD9 #D95C93
square
#D2D95C #5CD9A1 #635CD9 #D95C93
split-complementary
#D2D95C #5C93D9 #A15CD9
monochromatic
#919723 #C0C92F #D2D95C #E0E58E #EDF0BF
Accessibility & contrast
On white
1.52
#D2D95C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.82
#D2D95C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D95C
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D95C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D95C | 1.00 | 1.52 | 13.82 | 13.82 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D04E
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#DFCDBE
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d95c; /* rgb */ color: rgb(210, 217, 92); /* oklch */ color: oklch(85.6% 0.148 112.1);
Tailwind
colors: {
custom: {
50: '#e2e48f',
500: '#d2d95c',
950: '#000000',
},
}SCSS
$custom: #d2d95c; $custom-light: #e2e48f; $custom-dark: #000000;
JSON
{
"hex": "#d2d95c",
"rgb": {
"r": 210,
"g": 217,
"b": 92
},
"hsl": {
"h": 63.36,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.85575,
"c": 0.14781,
"h": 112.1
},
"luminance": 0.641
}Semantic roles & 50–950 ramp
primary
#D2D95C
secondary
#433D9C
accent
#1CCA25
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F