#CDC28F#CDC28F
#CDC28F is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.069 H 97.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC28F |
|---|---|
| RGB | rgb(205, 194, 143) |
| HSL | hsl(49, 38%, 68%) |
| HSV | hsv(49, 30%, 80%) |
| CMYK | cmyk(0%, 5.4%, 30.2%, 19.6%) |
| CIE-LAB | lab(78.20, -3.94, 27.10) |
| CIE-LCH | lch(78.20, 27.39, 98.27°) |
| OKLab | oklab(81.07% -0.0088 0.068) |
| OKLCH | oklch(81.07% 0.069 97.4) |
| XYZ | xyz(49.4270, 53.5471, 33.7132) |
| Luminance | 0.5355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.36
Beige (survey)
#E6DAA6
ΔE00 5.84
Darkkhaki
#BDB76B
ΔE00 6.47
Very Light Brown
#D3B683
ΔE00 6.55
Putty
#BEAE8A
ΔE00 6.75
Sandstone
#C9AE74
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC28F #8F9ACD
analogous
#CDA38F #CDC28F #B9CD8F
triadic
#CDC28F #8FCDC2 #C28FCD
tetradic
#CDC28F #8FCDA3 #8F9ACD #CD8FB9
square
#CDC28F #8FCDA3 #8F9ACD #CD8FB9
split-complementary
#CDC28F #8FB9CD #A38FCD
monochromatic
#9C8D46 #BAAB65 #CDC28F #E0D9B9 #F3F0E4
Accessibility & contrast
On white
1.79
#CDC28F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#CDC28F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC28F
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC28F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC28F | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBF8C
Deuteranopia (green-blind)
#CFC391
Tritanopia (blue-blind)
#D6BBB5
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc28f; /* rgb */ color: rgb(205, 194, 143); /* oklch */ color: oklch(81.1% 0.069 97.4);
Tailwind
colors: {
custom: {
50: '#ddd4b0',
500: '#cdc28f',
950: '#000000',
},
}SCSS
$custom: #cdc28f; $custom-light: #ddd4b0; $custom-dark: #000000;
JSON
{
"hex": "#cdc28f",
"rgb": {
"r": 205,
"g": 194,
"b": 143
},
"hsl": {
"h": 49.355,
"s": 38.272,
"l": 68.235
},
"oklch": {
"l": 0.81068,
"c": 0.06858,
"h": 97.4
},
"luminance": 0.53546
}Semantic roles & 50–950 ramp
primary
#CDC28F
secondary
#5E6AA2
accent
#4AB134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381