#DCC15F#DCC15F
#DCC15F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.122 H 94.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC15F |
|---|---|
| RGB | rgb(220, 193, 95) |
| HSL | hsl(47, 64%, 62%) |
| HSV | hsv(47, 57%, 86%) |
| CMYK | cmyk(0%, 12.3%, 56.8%, 13.7%) |
| CIE-LAB | lab(78.57, -2.25, 52.05) |
| CIE-LCH | lch(78.57, 52.10, 92.47°) |
| OKLab | oklab(81.45% -0.0088 0.1214) |
| OKLCH | oklch(81.45% 0.122 94.1) |
| XYZ | xyz(50.6528, 54.1842, 18.6148) |
| Luminance | 0.5418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.16
Maize
#F4D054
ΔE00 5.35
Light Mustard
#F7D560
ΔE00 5.71
Mustard
#DBB42C
ΔE00 5.77
Sandy
#F1DA7A
ΔE00 5.96
Desert
#CCAD60
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC15F #5F7ADC
analogous
#DC835F #DCC15F #B9DC5F
triadic
#DCC15F #5FDCC1 #C15FDC
tetradic
#DCC15F #5FDC83 #5F7ADC #DC5FB9
square
#DCC15F #5FDC83 #5F7ADC #DC5FB9
split-complementary
#DCC15F #5FB9DC #835FDC
monochromatic
#9E8323 #D0AD2E #DCC15F #E7D491 #F2E8C3
Accessibility & contrast
On white
1.77
#DCC15F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#DCC15F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC15F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC15F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC15F | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE56
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#ECB4AB
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #dcc15f; /* rgb */ color: rgb(220, 193, 95); /* oklch */ color: oklch(81.5% 0.122 94.1);
Tailwind
colors: {
custom: {
50: '#ead38f',
500: '#dcc15f',
950: '#000000',
},
}SCSS
$custom: #dcc15f; $custom-light: #ead38f; $custom-dark: #000000;
JSON
{
"hex": "#dcc15f",
"rgb": {
"r": 220,
"g": 193,
"b": 95
},
"hsl": {
"h": 47.04,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.81454,
"c": 0.12176,
"h": 94.1
},
"luminance": 0.54182
}Semantic roles & 50–950 ramp
primary
#DCC15F
secondary
#3E53A2
accent
#40CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F