#CDC299#CDC299
#CDC299 is a light, muted yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.056 H 94.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC299 |
|---|---|
| RGB | rgb(205, 194, 153) |
| HSL | hsl(47, 34%, 70%) |
| HSV | hsv(47, 25%, 80%) |
| CMYK | cmyk(0%, 5.4%, 25.4%, 19.6%) |
| CIE-LAB | lab(78.38, -2.61, 22.06) |
| CIE-LCH | lch(78.38, 22.22, 96.73°) |
| OKLab | oklab(81.27% -0.0047 0.056) |
| OKLCH | oklch(81.27% 0.056 94.8) |
| XYZ | xyz(50.2186, 53.8637, 37.8821) |
| Luminance | 0.5386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.96
Putty
#BEAE8A
ΔE00 5.72
Beige (survey)
#E6DAA6
ΔE00 6.24
Khaki
#C3B091
ΔE00 6.68
Very Light Brown
#D3B683
ΔE00 6.71
Toupe
#C7AC7D
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC299 #99A4CD
analogous
#CDA899 #CDC299 #BECD99
triadic
#CDC299 #99CDC2 #C299CD
tetradic
#CDC299 #99CDA8 #99A4CD #CD99BE
square
#CDC299 #99CDA8 #99A4CD #CD99BE
split-complementary
#CDC299 #99BECD #A899CD
monochromatic
#9E8D4D #B9A970 #CDC299 #E1DBC2 #F5F3EA
Accessibility & contrast
On white
1.78
#CDC299 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#CDC299 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC299
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC299 | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBC096
Deuteranopia (green-blind)
#CEC49A
Tritanopia (blue-blind)
#D5BCB7
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc299; /* rgb */ color: rgb(205, 194, 153); /* oklch */ color: oklch(81.3% 0.056 94.8);
Tailwind
colors: {
custom: {
50: '#dcd4b7',
500: '#cdc299',
950: '#000000',
},
}SCSS
$custom: #cdc299; $custom-light: #dcd4b7; $custom-dark: #000000;
JSON
{
"hex": "#cdc299",
"rgb": {
"r": 205,
"g": 194,
"b": 153
},
"hsl": {
"h": 47.308,
"s": 34.211,
"l": 70.196
},
"oklch": {
"l": 0.81275,
"c": 0.05623,
"h": 94.8
},
"luminance": 0.53863
}Semantic roles & 50–950 ramp
primary
#CDC299
secondary
#6874A2
accent
#51AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381