#DCC95F#DCC95F
#DCC95F is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.128 H 99.3°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC95F |
|---|---|
| RGB | rgb(220, 201, 95) |
| HSL | hsl(51, 64%, 62%) |
| HSV | hsv(51, 57%, 86%) |
| CMYK | cmyk(0%, 8.6%, 56.8%, 13.7%) |
| CIE-LAB | lab(80.64, -6.37, 54.42) |
| CIE-LCH | lch(80.64, 54.80, 96.68°) |
| OKLab | oklab(83.09% -0.0207 0.1266) |
| OKLCH | oklch(83.09% 0.128 99.3) |
| XYZ | xyz(52.4693, 57.8173, 19.2203) |
| Luminance | 0.5782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.74
Sandy
#F1DA7A
ΔE00 4.67
Dull Yellow
#EEDC5B
ΔE00 5.06
Light Mustard
#F7D560
ΔE00 5.35
Maize
#F4D054
ΔE00 5.37
Pale Gold
#FDDE6C
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC95F #5F72DC
analogous
#DC8B5F #DCC95F #B1DC5F
triadic
#DCC95F #5FDCC9 #C95FDC
tetradic
#DCC95F #5FDC8B #5F72DC #DC5FB1
square
#DCC95F #5FDC8B #5F72DC #DC5FB1
split-complementary
#DCC95F #5FB1DC #8B5FDC
monochromatic
#9E8B23 #D0B82E #DCC95F #E7DA91 #F2EBC3
Accessibility & contrast
On white
1.67
#DCC95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.56
#DCC95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC95F
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC95F | 1.00 | 1.67 | 12.56 | 12.56 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#EBBCB1
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #dcc95f; /* rgb */ color: rgb(220, 201, 95); /* oklch */ color: oklch(83.1% 0.128 99.3);
Tailwind
colors: {
custom: {
50: '#e9d990',
500: '#dcc95f',
950: '#000000',
},
}SCSS
$custom: #dcc95f; $custom-light: #e9d990; $custom-dark: #000000;
JSON
{
"hex": "#dcc95f",
"rgb": {
"r": 220,
"g": 201,
"b": 95
},
"hsl": {
"h": 50.88,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.83091,
"c": 0.12824,
"h": 99.3
},
"luminance": 0.57815
}Semantic roles & 50–950 ramp
primary
#DCC95F
secondary
#3E4DA2
accent
#35CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F