#CDC993#CDC993
#CDC993 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.071 H 104.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC993 |
|---|---|
| RGB | rgb(205, 201, 147) |
| HSL | hsl(56, 37%, 69%) |
| HSV | hsv(56, 28%, 80%) |
| CMYK | cmyk(0%, 2%, 28.3%, 19.6%) |
| CIE-LAB | lab(80.10, -7.05, 27.56) |
| CIE-LCH | lch(80.10, 28.45, 104.35°) |
| OKLab | oklab(82.6% -0.0176 0.0692) |
| OKLCH | oklch(82.6% 0.071 104.3) |
| XYZ | xyz(51.3302, 56.8599, 35.8692) |
| Luminance | 0.5686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 6.73
Sand
#C2B280
ΔE00 6.83
Greenish Beige
#C9D179
ΔE00 6.97
Greenish Tan
#BCCB7A
ΔE00 7.01
Pale Olive
#B9CC81
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC993 #9397CD
analogous
#CDAC93 #CDC993 #B4CD93
triadic
#CDC993 #93CDC9 #C993CD
tetradic
#CDC993 #93CDAC #9397CD #CD93B4
square
#CDC993 #93CDAC #9397CD #CD93B4
split-complementary
#CDC993 #93B4CD #AC93CD
monochromatic
#9D9749 #BAB469 #CDC993 #E0DEBD #F4F3E7
Accessibility & contrast
On white
1.70
#CDC993 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.37
#CDC993 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC993
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC993 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC993 | 1.00 | 1.70 | 12.37 | 12.37 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C58F
Deuteranopia (green-blind)
#D4C895
Tritanopia (blue-blind)
#D6C2BB
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cdc993; /* rgb */ color: rgb(205, 201, 147); /* oklch */ color: oklch(82.6% 0.071 104.3);
Tailwind
colors: {
custom: {
50: '#ddd9b3',
500: '#cdc993',
950: '#000000',
},
}SCSS
$custom: #cdc993; $custom-light: #ddd9b3; $custom-dark: #000000;
JSON
{
"hex": "#cdc993",
"rgb": {
"r": 205,
"g": 201,
"b": 147
},
"hsl": {
"h": 55.862,
"s": 36.709,
"l": 69.02
},
"oklch": {
"l": 0.82597,
"c": 0.0714,
"h": 104.3
},
"luminance": 0.56859
}Semantic roles & 50–950 ramp
primary
#CDC993
secondary
#6266A2
accent
#3EB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381