#DCC25A#DCC25A
#DCC25A is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.127 H 95.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC25A |
|---|---|
| RGB | rgb(220, 194, 90) |
| HSL | hsl(48, 65%, 61%) |
| HSV | hsv(48, 59%, 86%) |
| CMYK | cmyk(0%, 11.8%, 59.1%, 13.7%) |
| CIE-LAB | lab(78.78, -3.13, 54.60) |
| CIE-LCH | lch(78.78, 54.69, 93.28°) |
| OKLab | oklab(81.6% -0.0119 0.1264) |
| OKLCH | oklch(81.6% 0.127 95.4) |
| XYZ | xyz(50.6546, 54.5398, 17.5300) |
| Luminance | 0.5454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.64
Maize
#F4D054
ΔE00 4.97
Light Mustard
#F7D560
ΔE00 5.40
Mustard
#DBB42C
ΔE00 5.57
Sandy
#F1DA7A
ΔE00 5.86
Dark Yellow
#D5B60A
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC25A #5A74DC
analogous
#DC815A #DCC25A #B5DC5A
triadic
#DCC25A #5ADCC2 #C25ADC
tetradic
#DCC25A #5ADC81 #5A74DC #DC5AB5
square
#DCC25A #5ADC81 #5A74DC #DC5AB5
split-complementary
#DCC25A #5AB5DC #815ADC
monochromatic
#9B8221 #CDAD2C #DCC25A #E7D58C #F1E7BF
Accessibility & contrast
On white
1.76
#DCC25A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.91
#DCC25A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC25A
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC25A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC25A | 1.00 | 1.76 | 11.91 | 11.91 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4F
Deuteranopia (green-blind)
#DAC75F
Tritanopia (blue-blind)
#ECB5AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dcc25a; /* rgb */ color: rgb(220, 194, 90); /* oklch */ color: oklch(81.6% 0.127 95.4);
Tailwind
colors: {
custom: {
50: '#ead48c',
500: '#dcc25a',
950: '#000000',
},
}SCSS
$custom: #dcc25a; $custom-light: #ead48c; $custom-dark: #000000;
JSON
{
"hex": "#dcc25a",
"rgb": {
"r": 220,
"g": 194,
"b": 90
},
"hsl": {
"h": 48,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.81601,
"c": 0.12691,
"h": 95.4
},
"luminance": 0.54537
}Semantic roles & 50–950 ramp
primary
#DCC25A
secondary
#3B4F9F
accent
#3DCD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F