#CDC465#CDC465
#CDC465 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.118 H 103.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC465 |
|---|---|
| RGB | rgb(205, 196, 101) |
| HSL | hsl(55, 51%, 60%) |
| HSV | hsv(55, 51%, 80%) |
| CMYK | cmyk(0%, 4.4%, 50.7%, 19.6%) |
| CIE-LAB | lab(78.11, -9.51, 48.33) |
| CIE-LCH | lch(78.11, 49.26, 101.14°) |
| OKLab | oklab(80.8% -0.0281 0.1142) |
| OKLCH | oklch(80.8% 0.118 103.8) |
| XYZ | xyz(47.2670, 53.4001, 20.1268) |
| Luminance | 0.5340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.61
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Beige
#C9D179
ΔE00 5.49
Sandy
#F1DA7A
ΔE00 7.04
Greenish Tan
#BCCB7A
ΔE00 7.18
Puke Yellow
#C2BE0E
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC465 #656ECD
analogous
#CD9065 #CDC465 #A2CD65
triadic
#CDC465 #65CDC4 #C465CD
tetradic
#CDC465 #65CD90 #656ECD #CD65A2
square
#CDC465 #65CD90 #656ECD #CD65A2
split-complementary
#CDC465 #65A2CD #9065CD
monochromatic
#8B832D #B9AE3C #CDC465 #DCD693 #EBE7C1
Accessibility & contrast
On white
1.80
#CDC465 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CDC465 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC465
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC465 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC465 | 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)
#D2BE5C
Deuteranopia (green-blind)
#D6C369
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc465; /* rgb */ color: rgb(205, 196, 101); /* oklch */ color: oklch(80.8% 0.118 103.8);
Tailwind
colors: {
custom: {
50: '#ded593',
500: '#cdc465',
950: '#000000',
},
}SCSS
$custom: #cdc465; $custom-light: #ded593; $custom-dark: #000000;
JSON
{
"hex": "#cdc465",
"rgb": {
"r": 205,
"g": 196,
"b": 101
},
"hsl": {
"h": 54.808,
"s": 50.98,
"l": 60
},
"oklch": {
"l": 0.808,
"c": 0.11765,
"h": 103.8
},
"luminance": 0.53399
}Semantic roles & 50–950 ramp
primary
#CDC465
secondary
#454B91
accent
#5ADA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F