#DCD45F#DCD45F
#DCD45F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.138 H 105.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD45F |
|---|---|
| RGB | rgb(220, 212, 95) |
| HSL | hsl(56, 64%, 62%) |
| HSV | hsv(56, 57%, 86%) |
| CMYK | cmyk(0%, 3.6%, 56.8%, 13.7%) |
| CIE-LAB | lab(83.51, -11.95, 57.68) |
| CIE-LCH | lch(83.51, 58.91, 101.71°) |
| OKLab | oklab(85.37% -0.0366 0.1335) |
| OKLCH | oklch(85.37% 0.138 105.3) |
| XYZ | xyz(55.1260, 63.1306, 20.1059) |
| Luminance | 0.6313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.68
Sandy
#F1DA7A
ΔE00 5.40
Piss Yellow
#DDD618
ΔE00 5.64
Khaki (CSS)
#F0E68C
ΔE00 5.87
Sand Yellow
#FCE166
ΔE00 6.19
Yellowish
#FAEE66
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD45F #5F67DC
analogous
#DC965F #DCD45F #A6DC5F
triadic
#DCD45F #5FDCD4 #D45FDC
tetradic
#DCD45F #5FDC96 #5F67DC #DC5FA6
square
#DCD45F #5FDC96 #5F67DC #DC5FA6
split-complementary
#DCD45F #5FA6DC #965FDC
monochromatic
#9E9623 #D0C62E #DCD45F #E7E191 #F2EFC3
Accessibility & contrast
On white
1.54
#DCD45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.63
#DCD45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD45F
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD45F | 1.00 | 1.54 | 13.63 | 13.63 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD53
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#EBC7BA
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #dcd45f; /* rgb */ color: rgb(220, 212, 95); /* oklch */ color: oklch(85.4% 0.138 105.3);
Tailwind
colors: {
custom: {
50: '#e9e190',
500: '#dcd45f',
950: '#000000',
},
}SCSS
$custom: #dcd45f; $custom-light: #e9e190; $custom-dark: #000000;
JSON
{
"hex": "#dcd45f",
"rgb": {
"r": 220,
"g": 212,
"b": 95
},
"hsl": {
"h": 56.16,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.85373,
"c": 0.13848,
"h": 105.3
},
"luminance": 0.63129
}Semantic roles & 50–950 ramp
primary
#DCD45F
secondary
#3E44A2
accent
#25CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F