#DCC25F#DCC25F
#DCC25F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.123 H 94.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC25F |
|---|---|
| RGB | rgb(220, 194, 95) |
| HSL | hsl(48, 64%, 62%) |
| HSV | hsv(48, 57%, 86%) |
| CMYK | cmyk(0%, 11.8%, 56.8%, 13.7%) |
| CIE-LAB | lab(78.83, -2.77, 52.35) |
| CIE-LCH | lch(78.83, 52.42, 93.03°) |
| OKLab | oklab(81.66% -0.0103 0.1221) |
| OKLCH | oklch(81.66% 0.123 94.8) |
| XYZ | xyz(50.8746, 54.6278, 18.6887) |
| Luminance | 0.5463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.09
Maize
#F4D054
ΔE00 5.26
Light Mustard
#F7D560
ΔE00 5.58
Sandy
#F1DA7A
ΔE00 5.73
Mustard
#DBB42C
ΔE00 5.95
Desert
#CCAD60
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC25F #5F79DC
analogous
#DC845F #DCC25F #B8DC5F
triadic
#DCC25F #5FDCC2 #C25FDC
tetradic
#DCC25F #5FDC84 #5F79DC #DC5FB8
square
#DCC25F #5FDC84 #5F79DC #DC5FB8
split-complementary
#DCC25F #5FB8DC #845FDC
monochromatic
#9E8423 #D0AE2E #DCC25F #E7D591 #F2E8C3
Accessibility & contrast
On white
1.76
#DCC25F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#DCC25F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC25F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC25F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC25F | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#ECB5AC
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #dcc25f; /* rgb */ color: rgb(220, 194, 95); /* oklch */ color: oklch(81.7% 0.123 94.8);
Tailwind
colors: {
custom: {
50: '#ead48f',
500: '#dcc25f',
950: '#000000',
},
}SCSS
$custom: #dcc25f; $custom-light: #ead48f; $custom-dark: #000000;
JSON
{
"hex": "#dcc25f",
"rgb": {
"r": 220,
"g": 194,
"b": 95
},
"hsl": {
"h": 47.52,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.81657,
"c": 0.12251,
"h": 94.8
},
"luminance": 0.54625
}Semantic roles & 50–950 ramp
primary
#DCC25F
secondary
#3E52A2
accent
#3FCC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F