#CDC393#CDC393
#CDC393 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.065 H 97.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC393 |
|---|---|
| RGB | rgb(205, 195, 147) |
| HSL | hsl(50, 37%, 69%) |
| HSV | hsv(50, 28%, 80%) |
| CMYK | cmyk(0%, 4.9%, 28.3%, 19.6%) |
| CIE-LAB | lab(78.53, -3.94, 25.44) |
| CIE-LCH | lch(78.53, 25.75, 98.80°) |
| OKLab | oklab(81.36% -0.0087 0.0641) |
| OKLCH | oklch(81.36% 0.065 97.7) |
| XYZ | xyz(49.9587, 54.1170, 35.4120) |
| Luminance | 0.5412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.73
Beige (survey)
#E6DAA6
ΔE00 5.67
Putty
#BEAE8A
ΔE00 6.70
Very Light Brown
#D3B683
ΔE00 6.92
Darkkhaki
#BDB76B
ΔE00 7.12
Sandstone
#C9AE74
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC393 #939DCD
analogous
#CDA693 #CDC393 #BACD93
triadic
#CDC393 #93CDC3 #C393CD
tetradic
#CDC393 #93CDA6 #939DCD #CD93BA
square
#CDC393 #93CDA6 #939DCD #CD93BA
split-complementary
#CDC393 #93BACD #A693CD
monochromatic
#9D8E49 #BAAC69 #CDC393 #E0DABD #F4F1E7
Accessibility & contrast
On white
1.78
#CDC393 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#CDC393 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC393
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC393 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC393 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDC090
Deuteranopia (green-blind)
#D0C495
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc393; /* rgb */ color: rgb(205, 195, 147); /* oklch */ color: oklch(81.4% 0.065 97.7);
Tailwind
colors: {
custom: {
50: '#ddd5b3',
500: '#cdc393',
950: '#000000',
},
}SCSS
$custom: #cdc393; $custom-light: #ddd5b3; $custom-dark: #000000;
JSON
{
"hex": "#cdc393",
"rgb": {
"r": 205,
"g": 195,
"b": 147
},
"hsl": {
"h": 49.655,
"s": 36.709,
"l": 69.02
},
"oklch": {
"l": 0.81355,
"c": 0.0647,
"h": 97.7
},
"luminance": 0.54116
}Semantic roles & 50–950 ramp
primary
#CDC393
secondary
#626DA2
accent
#4BB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381