#CDC15F#CDC15F
#CDC15F is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.120 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC15F |
|---|---|
| RGB | rgb(205, 193, 95) |
| HSL | hsl(53, 52%, 59%) |
| HSV | hsv(53, 54%, 80%) |
| CMYK | cmyk(0%, 5.9%, 53.7%, 19.6%) |
| CIE-LAB | lab(77.25, -8.48, 50.18) |
| CIE-LCH | lch(77.25, 50.89, 99.59°) |
| OKLab | oklab(80.1% -0.0258 0.1177) |
| OKLCH | oklch(80.1% 0.12 102.4) |
| XYZ | xyz(46.3138, 51.9469, 18.4114) |
| Luminance | 0.5194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.75
Sand (survey)
#E2CA76
ΔE00 5.11
Greenish Beige
#C9D179
ΔE00 6.66
Puke Yellow
#C2BE0E
ΔE00 6.87
Vomit Yellow
#C7C10C
ΔE00 6.91
Olive Yellow
#C2B709
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC15F #5F6BCD
analogous
#CD8A5F #CDC15F #A2CD5F
triadic
#CDC15F #5FCDC1 #C15FCD
tetradic
#CDC15F #5FCD8A #5F6BCD #CD5FA2
square
#CDC15F #5FCD8A #5F6BCD #CD5FA2
split-complementary
#CDC15F #5FA2CD #8A5FCD
monochromatic
#877D2A #B6A839 #CDC15F #DCD38E #EAE5BC
Accessibility & contrast
On white
1.84
#CDC15F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#CDC15F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC15F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC15F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC15F | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D4C164
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc15f; /* rgb */ color: rgb(205, 193, 95); /* oklch */ color: oklch(80.1% 0.120 102.4);
Tailwind
colors: {
custom: {
50: '#ded38f',
500: '#cdc15f',
950: '#000000',
},
}SCSS
$custom: #cdc15f; $custom-light: #ded38f; $custom-dark: #000000;
JSON
{
"hex": "#cdc15f",
"rgb": {
"r": 205,
"g": 193,
"b": 95
},
"hsl": {
"h": 53.455,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.80095,
"c": 0.12049,
"h": 102.4
},
"luminance": 0.51945
}Semantic roles & 50–950 ramp
primary
#CDC15F
secondary
#424A8E
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F