#D3C950#D3C950
#D3C950 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.141 H 104.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C950 |
|---|---|
| RGB | rgb(211, 201, 80) |
| HSL | hsl(55, 60%, 57%) |
| HSV | hsv(55, 62%, 83%) |
| CMYK | cmyk(0%, 4.7%, 62.1%, 17.3%) |
| CIE-LAB | lab(79.73, -11.16, 59.85) |
| CIE-LCH | lch(79.73, 60.89, 100.56°) |
| OKLab | oklab(82.14% -0.0355 0.1364) |
| OKLCH | oklch(82.14% 0.141 104.6) |
| XYZ | xyz(49.2004, 56.2031, 15.8445) |
| Luminance | 0.5620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.54
Vomit Yellow
#C7C10C
ΔE00 4.71
Ugly Yellow
#D0C101
ΔE00 5.05
Puke Yellow
#C2BE0E
ΔE00 5.07
Dull Yellow
#EEDC5B
ΔE00 5.28
Mustard Yellow
#D2BD0A
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C950 #505AD3
analogous
#D38850 #D3C950 #9CD350
triadic
#D3C950 #50D3C9 #C950D3
tetradic
#D3C950 #50D388 #505AD3 #D3509C
square
#D3C950 #50D388 #505AD3 #D3509C
split-complementary
#D3C950 #509CD3 #8850D3
monochromatic
#877F22 #B8AD2E #D3C950 #DFD881 #ECE7B2
Accessibility & contrast
On white
1.72
#D3C950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.24
#D3C950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C950
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C950 | 1.00 | 1.72 | 12.24 | 12.24 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC242
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d3c950; /* rgb */ color: rgb(211, 201, 80); /* oklch */ color: oklch(82.1% 0.141 104.6);
Tailwind
colors: {
custom: {
50: '#e3d986',
500: '#d3c950',
950: '#000000',
},
}SCSS
$custom: #d3c950; $custom-light: #e3d986; $custom-dark: #000000;
JSON
{
"hex": "#d3c950",
"rgb": {
"r": 211,
"g": 201,
"b": 80
},
"hsl": {
"h": 55.42,
"s": 59.817,
"l": 57.059
},
"oklch": {
"l": 0.82141,
"c": 0.14097,
"h": 104.6
},
"luminance": 0.56201
}Semantic roles & 50–950 ramp
primary
#D3C950
secondary
#3A408D
accent
#51E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F