#CDC28E#CDC28E
#CDC28E is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.070 H 97.6°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC28E |
|---|---|
| RGB | rgb(205, 194, 142) |
| HSL | hsl(50, 39%, 68%) |
| HSV | hsv(50, 31%, 80%) |
| CMYK | cmyk(0%, 5.4%, 30.7%, 19.6%) |
| CIE-LAB | lab(78.18, -4.07, 27.61) |
| CIE-LCH | lch(78.18, 27.91, 98.39°) |
| OKLab | oklab(81.05% -0.0092 0.0692) |
| OKLCH | oklch(81.05% 0.07 97.6) |
| XYZ | xyz(49.3516, 53.5169, 33.3160) |
| Luminance | 0.5352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.37
Beige (survey)
#E6DAA6
ΔE00 5.86
Darkkhaki
#BDB76B
ΔE00 6.27
Very Light Brown
#D3B683
ΔE00 6.58
Putty
#BEAE8A
ΔE00 6.88
Sandstone
#C9AE74
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC28E #8E99CD
analogous
#CDA28E #CDC28E #B8CD8E
triadic
#CDC28E #8ECDC2 #C28ECD
tetradic
#CDC28E #8ECDA2 #8E99CD #CD8EB8
square
#CDC28E #8ECDA2 #8E99CD #CD8EB8
split-complementary
#CDC28E #8EB8CD #A28ECD
monochromatic
#9C8D45 #BAAB64 #CDC28E #E0D9B8 #F3F0E3
Accessibility & contrast
On white
1.79
#CDC28E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CDC28E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC28E
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC28E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC28E | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBF8B
Deuteranopia (green-blind)
#CFC390
Tritanopia (blue-blind)
#D7BBB4
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc28e; /* rgb */ color: rgb(205, 194, 142); /* oklch */ color: oklch(81.0% 0.070 97.6);
Tailwind
colors: {
custom: {
50: '#ddd4af',
500: '#cdc28e',
950: '#000000',
},
}SCSS
$custom: #cdc28e; $custom-light: #ddd4af; $custom-dark: #000000;
JSON
{
"hex": "#cdc28e",
"rgb": {
"r": 205,
"g": 194,
"b": 142
},
"hsl": {
"h": 49.524,
"s": 38.65,
"l": 68.039
},
"oklch": {
"l": 0.81048,
"c": 0.0698,
"h": 97.6
},
"luminance": 0.53516
}Semantic roles & 50–950 ramp
primary
#CDC28E
secondary
#5D69A2
accent
#4AB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381