#CDC18E#CDC18E
#CDC18E is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.069 H 96.5°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC18E |
|---|---|
| RGB | rgb(205, 193, 142) |
| HSL | hsl(49, 39%, 68%) |
| HSV | hsv(49, 31%, 80%) |
| CMYK | cmyk(0%, 5.9%, 30.7%, 19.6%) |
| CIE-LAB | lab(77.92, -3.55, 27.26) |
| CIE-LCH | lch(77.92, 27.49, 97.42°) |
| OKLab | oklab(80.84% -0.0077 0.0683) |
| OKLCH | oklch(80.84% 0.069 96.5) |
| XYZ | xyz(49.1298, 53.0733, 33.2421) |
| Luminance | 0.5307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.03
Beige (survey)
#E6DAA6
ΔE00 6.04
Very Light Brown
#D3B683
ΔE00 6.16
Darkkhaki
#BDB76B
ΔE00 6.46
Putty
#BEAE8A
ΔE00 6.47
Sandstone
#C9AE74
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC18E #8E9ACD
analogous
#CDA18E #CDC18E #B9CD8E
triadic
#CDC18E #8ECDC1 #C18ECD
tetradic
#CDC18E #8ECDA1 #8E9ACD #CD8EB9
square
#CDC18E #8ECDA1 #8E9ACD #CD8EB9
split-complementary
#CDC18E #8EB9CD #A18ECD
monochromatic
#9C8B45 #BAAA64 #CDC18E #E0D8B8 #F3F0E3
Accessibility & contrast
On white
1.81
#CDC18E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#CDC18E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC18E
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC18E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC18E | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBBE8B
Deuteranopia (green-blind)
#CFC290
Tritanopia (blue-blind)
#D7BAB4
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc18e; /* rgb */ color: rgb(205, 193, 142); /* oklch */ color: oklch(80.8% 0.069 96.5);
Tailwind
colors: {
custom: {
50: '#ddd3af',
500: '#cdc18e',
950: '#000000',
},
}SCSS
$custom: #cdc18e; $custom-light: #ddd3af; $custom-dark: #000000;
JSON
{
"hex": "#cdc18e",
"rgb": {
"r": 205,
"g": 193,
"b": 142
},
"hsl": {
"h": 48.571,
"s": 38.65,
"l": 68.039
},
"oklch": {
"l": 0.80842,
"c": 0.06879,
"h": 96.5
},
"luminance": 0.53072
}Semantic roles & 50–950 ramp
primary
#CDC18E
secondary
#5D6AA2
accent
#4CB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381