#DCDCA2#DCDCA2
#DCDCA2 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.076 H 107.9°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #DCDCA2 |
|---|---|
| RGB | rgb(220, 220, 162) |
| HSL | hsl(60, 45%, 75%) |
| HSV | hsv(60, 26%, 86%) |
| CMYK | cmyk(0%, 0%, 26.4%, 13.7%) |
| CIE-LAB | lab(86.51, -9.08, 28.60) |
| CIE-LCH | lch(86.51, 30.01, 107.62°) |
| OKLab | oklab(88.05% -0.0232 0.0719) |
| OKLCH | oklch(88.05% 0.076 107.9) |
| XYZ | xyz(61.6301, 69.0116, 44.2493) |
| Luminance | 0.6901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 3.49
Beige (survey)
#E6DAA6
ΔE00 4.08
Vanilla
#F3E5AB
ΔE00 5.05
Light Tan
#FBEEAC
ΔE00 6.05
Light Khaki
#E6F2A2
ΔE00 6.33
Greenish Beige
#C9D179
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCDCA2 #A2A2DC
analogous
#DCBFA2 #DCDCA2 #BFDCA2
triadic
#DCDCA2 #A2DCDC #DCA2DC
tetradic
#DCDCA2 #A2DCBF #A2A2DC #DCA2BF
square
#DCDCA2 #A2DCBF #A2A2DC #DCA2BF
split-complementary
#DCDCA2 #A2BFDC #BFA2DC
monochromatic
#BBBB49 #CBCB76 #DCDCA2 #EDEDCE #F7F7E9
Accessibility & contrast
On white
1.42
#DCDCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.80
#DCDCA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCDCA2
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCDCA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCDCA2 | 1.00 | 1.42 | 14.80 | 14.80 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D79E
Deuteranopia (green-blind)
#E7DAA4
Tritanopia (blue-blind)
#E4D5CD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #dcdca2; /* rgb */ color: rgb(220, 220, 162); /* oklch */ color: oklch(88.0% 0.076 107.9);
Tailwind
colors: {
custom: {
50: '#e7e6be',
500: '#dcdca2',
950: '#000000',
},
}SCSS
$custom: #dcdca2; $custom-light: #e7e6be; $custom-dark: #000000;
JSON
{
"hex": "#dcdca2",
"rgb": {
"r": 220,
"g": 220,
"b": 162
},
"hsl": {
"h": 60,
"s": 45.313,
"l": 74.902
},
"oklch": {
"l": 0.88049,
"c": 0.07556,
"h": 107.9
},
"luminance": 0.69011
}Semantic roles & 50–950 ramp
primary
#DCDCA2
secondary
#6E6EB4
accent
#2DB82D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161612
muted
#848482