#DCC85F#DCC85F
#DCC85F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.127 H 98.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC85F |
|---|---|
| RGB | rgb(220, 200, 95) |
| HSL | hsl(50, 64%, 62%) |
| HSV | hsv(50, 57%, 86%) |
| CMYK | cmyk(0%, 9.1%, 56.8%, 13.7%) |
| CIE-LAB | lab(80.38, -5.86, 54.13) |
| CIE-LCH | lch(80.38, 54.44, 96.18°) |
| OKLab | oklab(82.89% -0.0192 0.1259) |
| OKLCH | oklch(82.89% 0.127 98.7) |
| XYZ | xyz(52.2370, 57.3526, 19.1429) |
| Luminance | 0.5735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.55
Sandy
#F1DA7A
ΔE00 4.75
Maize
#F4D054
ΔE00 5.27
Light Mustard
#F7D560
ΔE00 5.30
Dull Yellow
#EEDC5B
ΔE00 5.32
Pale Gold
#FDDE6C
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC85F #5F73DC
analogous
#DC8A5F #DCC85F #B2DC5F
triadic
#DCC85F #5FDCC8 #C85FDC
tetradic
#DCC85F #5FDC8A #5F73DC #DC5FB2
square
#DCC85F #5FDC8A #5F73DC #DC5FB2
split-complementary
#DCC85F #5FB2DC #8A5FDC
monochromatic
#9E8A23 #D0B62E #DCC85F #E7D991 #F2EBC3
Accessibility & contrast
On white
1.68
#DCC85F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#DCC85F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC85F
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC85F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC85F | 1.00 | 1.68 | 12.47 | 12.47 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C355
Deuteranopia (green-blind)
#DECB64
Tritanopia (blue-blind)
#EBBBB1
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #dcc85f; /* rgb */ color: rgb(220, 200, 95); /* oklch */ color: oklch(82.9% 0.127 98.7);
Tailwind
colors: {
custom: {
50: '#e9d890',
500: '#dcc85f',
950: '#000000',
},
}SCSS
$custom: #dcc85f; $custom-light: #e9d890; $custom-dark: #000000;
JSON
{
"hex": "#dcc85f",
"rgb": {
"r": 220,
"g": 200,
"b": 95
},
"hsl": {
"h": 50.4,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.82885,
"c": 0.12738,
"h": 98.7
},
"luminance": 0.5735
}Semantic roles & 50–950 ramp
primary
#DCC85F
secondary
#3E4EA2
accent
#36CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F