#DCD273#DCD273
#DCD273 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.118 H 103.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #DCD273 |
|---|---|
| RGB | rgb(220, 210, 115) |
| HSL | hsl(54, 60%, 66%) |
| HSV | hsv(54, 48%, 86%) |
| CMYK | cmyk(0%, 4.5%, 47.7%, 13.7%) |
| CIE-LAB | lab(83.20, -9.29, 47.99) |
| CIE-LCH | lch(83.20, 48.88, 100.96°) |
| OKLab | oklab(85.2% -0.0269 0.1145) |
| OKLCH | oklch(85.2% 0.118 103.2) |
| XYZ | xyz(55.6577, 62.5483, 25.3575) |
| Luminance | 0.6255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 4.60
Khaki (CSS)
#F0E68C
ΔE00 4.71
Greenish Beige
#C9D179
ΔE00 5.14
Dull Yellow
#EEDC5B
ΔE00 5.38
Wheat (survey)
#FBDD7E
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCD273 #737DDC
analogous
#DC9D73 #DCD273 #B1DC73
triadic
#DCD273 #73DCD2 #D273DC
tetradic
#DCD273 #73DC9D #737DDC #DC73B1
square
#DCD273 #73DC9D #737DDC #DC73B1
split-complementary
#DCD273 #73B1DC #9D73DC
monochromatic
#AA9E2B #D0C242 #DCD273 #E8E2A4 #F4F1D5
Accessibility & contrast
On white
1.55
#DCD273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.51
#DCD273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCD273
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCD273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCD273 | 1.00 | 1.55 | 13.51 | 13.51 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CC6B
Deuteranopia (green-blind)
#E4D277
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #dcd273; /* rgb */ color: rgb(220, 210, 115); /* oklch */ color: oklch(85.2% 0.118 103.2);
Tailwind
colors: {
custom: {
50: '#e9df9d',
500: '#dcd273',
950: '#000000',
},
}SCSS
$custom: #dcd273; $custom-light: #e9df9d; $custom-dark: #000000;
JSON
{
"hex": "#dcd273",
"rgb": {
"r": 220,
"g": 210,
"b": 115
},
"hsl": {
"h": 54.286,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.85199,
"c": 0.11757,
"h": 103.2
},
"luminance": 0.62547
}Semantic roles & 50–950 ramp
primary
#DCD273
secondary
#4750AD
accent
#2EC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F