#CDC15A#CDC15A
#CDC15A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.125 H 102.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC15A |
|---|---|
| RGB | rgb(205, 193, 90) |
| HSL | hsl(54, 53%, 58%) |
| HSV | hsv(54, 56%, 80%) |
| CMYK | cmyk(0%, 5.9%, 56.1%, 19.6%) |
| CIE-LAB | lab(77.20, -8.88, 52.46) |
| CIE-LCH | lch(77.20, 53.20, 99.61°) |
| OKLab | oklab(80.04% -0.0275 0.1221) |
| OKLCH | oklch(80.04% 0.125 102.7) |
| XYZ | xyz(46.0938, 51.8589, 17.2526) |
| Luminance | 0.5186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.26
Sand (survey)
#E2CA76
ΔE00 5.47
Puke Yellow
#C2BE0E
ΔE00 6.22
Vomit Yellow
#C7C10C
ΔE00 6.24
Olive Yellow
#C2B709
ΔE00 6.29
Dirty Yellow
#CDC50A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC15A #5A66CD
analogous
#CD875A #CDC15A #9FCD5A
triadic
#CDC15A #5ACDC1 #C15ACD
tetradic
#CDC15A #5ACD87 #5A66CD #CD5A9F
square
#CDC15A #5ACD87 #5A66CD #CD5A9F
split-complementary
#CDC15A #5A9FCD #875ACD
monochromatic
#847B28 #B3A636 #CDC15A #DBD389 #E9E4B8
Accessibility & contrast
On white
1.85
#CDC15A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#CDC15A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC15A
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC15A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC15A | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BB50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc15a; /* rgb */ color: rgb(205, 193, 90); /* oklch */ color: oklch(80.0% 0.125 102.7);
Tailwind
colors: {
custom: {
50: '#dfd38c',
500: '#cdc15a',
950: '#000000',
},
}SCSS
$custom: #cdc15a; $custom-light: #dfd38c; $custom-dark: #000000;
JSON
{
"hex": "#cdc15a",
"rgb": {
"r": 205,
"g": 193,
"b": 90
},
"hsl": {
"h": 53.739,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.80036,
"c": 0.12513,
"h": 102.7
},
"luminance": 0.51857
}Semantic roles & 50–950 ramp
primary
#CDC15A
secondary
#40478C
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F