#CDC693#CDC693
#CDC693 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 82.0% C 0.068 H 101.2°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC693 |
|---|---|
| RGB | rgb(205, 198, 147) |
| HSL | hsl(53, 37%, 69%) |
| HSV | hsv(53, 28%, 80%) |
| CMYK | cmyk(0%, 3.4%, 28.3%, 19.6%) |
| CIE-LAB | lab(79.31, -5.50, 26.50) |
| CIE-LCH | lch(79.31, 27.07, 101.72°) |
| OKLab | oklab(81.98% -0.0132 0.0667) |
| OKLCH | oklch(81.98% 0.068 101.2) |
| XYZ | xyz(50.6377, 55.4749, 35.6383) |
| Luminance | 0.5547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 5.28
Sand
#C2B280
ΔE00 5.74
Darkkhaki
#BDB76B
ΔE00 6.78
Vanilla
#F3E5AB
ΔE00 7.89
Sand (survey)
#E2CA76
ΔE00 7.97
Putty
#BEAE8A
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC693 #939ACD
analogous
#CDA993 #CDC693 #B7CD93
triadic
#CDC693 #93CDC6 #C693CD
tetradic
#CDC693 #93CDA9 #939ACD #CD93B7
square
#CDC693 #93CDA9 #939ACD #CD93B7
split-complementary
#CDC693 #93B7CD #A993CD
monochromatic
#9D9349 #BAB069 #CDC693 #E0DCBD #F4F2E7
Accessibility & contrast
On white
1.74
#CDC693 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.09
#CDC693 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC693
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC693 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC693 | 1.00 | 1.74 | 12.09 | 12.09 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C390
Deuteranopia (green-blind)
#D2C695
Tritanopia (blue-blind)
#D6BFB8
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc693; /* rgb */ color: rgb(205, 198, 147); /* oklch */ color: oklch(82.0% 0.068 101.2);
Tailwind
colors: {
custom: {
50: '#ddd7b3',
500: '#cdc693',
950: '#000000',
},
}SCSS
$custom: #cdc693; $custom-light: #ddd7b3; $custom-dark: #000000;
JSON
{
"hex": "#cdc693",
"rgb": {
"r": 205,
"g": 198,
"b": 147
},
"hsl": {
"h": 52.759,
"s": 36.709,
"l": 69.02
},
"oklch": {
"l": 0.81975,
"c": 0.06795,
"h": 101.2
},
"luminance": 0.55474
}Semantic roles & 50–950 ramp
primary
#CDC693
secondary
#626AA2
accent
#45B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381