#DCD275#DCD275
#DCD275 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.116 H 103.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD275 |
|---|---|
| RGB | rgb(220, 210, 117) |
| HSL | hsl(54, 60%, 66%) |
| HSV | hsv(54, 47%, 86%) |
| CMYK | cmyk(0%, 4.5%, 46.8%, 13.7%) |
| CIE-LAB | lab(83.23, -9.11, 47.05) |
| CIE-LCH | lch(83.23, 47.93, 100.96°) |
| OKLab | oklab(85.23% -0.0262 0.1125) |
| OKLCH | oklch(85.23% 0.116 103.1) |
| XYZ | xyz(55.7741, 62.5949, 25.9702) |
| Luminance | 0.6259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 4.50
Khaki (CSS)
#F0E68C
ΔE00 4.64
Greenish Beige
#C9D179
ΔE00 5.07
Dull Yellow
#EEDC5B
ΔE00 5.61
Wheat (survey)
#FBDD7E
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD275 #757FDC
analogous
#DC9E75 #DCD275 #B2DC75
triadic
#DCD275 #75DCD2 #D275DC
tetradic
#DCD275 #75DC9E #757FDC #DC75B2
square
#DCD275 #75DC9E #757FDC #DC75B2
split-complementary
#DCD275 #75B2DC #9E75DC
monochromatic
#AB9F2B #D0C244 #DCD275 #E8E2A6 #F5F2D7
Accessibility & contrast
On white
1.55
#DCD275 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.52
#DCD275 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD275
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD275 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD275 | 1.00 | 1.55 | 13.52 | 13.52 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CC6D
Deuteranopia (green-blind)
#E4D279
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd275; /* rgb */ color: rgb(220, 210, 117); /* oklch */ color: oklch(85.2% 0.116 103.1);
Tailwind
colors: {
custom: {
50: '#e9df9e',
500: '#dcd275',
950: '#000000',
},
}SCSS
$custom: #dcd275; $custom-light: #e9df9e; $custom-dark: #000000;
JSON
{
"hex": "#dcd275",
"rgb": {
"r": 220,
"g": 210,
"b": 117
},
"hsl": {
"h": 54.175,
"s": 59.538,
"l": 66.078
},
"oklch": {
"l": 0.85226,
"c": 0.11554,
"h": 103.1
},
"luminance": 0.62593
}Semantic roles & 50–950 ramp
primary
#DCD275
secondary
#4851AE
accent
#2FC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F