#CDC464#CDC464
#CDC464 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.119 H 103.9°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC464 |
|---|---|
| RGB | rgb(205, 196, 100) |
| HSL | hsl(55, 51%, 60%) |
| HSV | hsv(55, 51%, 80%) |
| CMYK | cmyk(0%, 4.4%, 51.2%, 19.6%) |
| CIE-LAB | lab(78.10, -9.60, 48.80) |
| CIE-LCH | lch(78.10, 49.73, 101.13°) |
| OKLab | oklab(80.79% -0.0285 0.1152) |
| OKLCH | oklch(80.79% 0.119 103.9) |
| XYZ | xyz(47.2183, 53.3806, 19.8703) |
| Luminance | 0.5338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.70
Sand (survey)
#E2CA76
ΔE00 5.30
Greenish Beige
#C9D179
ΔE00 5.54
Sandy
#F1DA7A
ΔE00 7.05
Greenish Tan
#BCCB7A
ΔE00 7.25
Puke Yellow
#C2BE0E
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC464 #646DCD
analogous
#CD8F64 #CDC464 #A2CD64
triadic
#CDC464 #64CDC4 #C464CD
tetradic
#CDC464 #64CD8F #646DCD #CD64A2
square
#CDC464 #64CD8F #646DCD #CD64A2
split-complementary
#CDC464 #64A2CD #8F64CD
monochromatic
#8A822D #B8AE3B #CDC464 #DCD692 #EBE7C1
Accessibility & contrast
On white
1.80
#CDC464 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CDC464 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC464
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC464 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC464 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5B
Deuteranopia (green-blind)
#D6C369
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc464; /* rgb */ color: rgb(205, 196, 100); /* oklch */ color: oklch(80.8% 0.119 103.9);
Tailwind
colors: {
custom: {
50: '#ded592',
500: '#cdc464',
950: '#000000',
},
}SCSS
$custom: #cdc464; $custom-light: #ded592; $custom-dark: #000000;
JSON
{
"hex": "#cdc464",
"rgb": {
"r": 205,
"g": 196,
"b": 100
},
"hsl": {
"h": 54.857,
"s": 51.22,
"l": 59.804
},
"oklch": {
"l": 0.80788,
"c": 0.11864,
"h": 103.9
},
"luminance": 0.53379
}Semantic roles & 50–950 ramp
primary
#CDC464
secondary
#444B91
accent
#59DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F