#CDC260#CDC260
#CDC260 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.121 H 102.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC260 |
|---|---|
| RGB | rgb(205, 194, 96) |
| HSL | hsl(54, 52%, 59%) |
| HSV | hsv(54, 53%, 80%) |
| CMYK | cmyk(0%, 5.4%, 53.2%, 19.6%) |
| CIE-LAB | lab(77.52, -8.91, 50.03) |
| CIE-LCH | lch(77.52, 50.81, 100.10°) |
| OKLab | oklab(80.32% -0.0269 0.1175) |
| OKLCH | oklch(80.32% 0.121 102.9) |
| XYZ | xyz(46.5814, 52.4088, 18.7263) |
| Luminance | 0.5241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.77
Sand (survey)
#E2CA76
ΔE00 5.19
Greenish Beige
#C9D179
ΔE00 6.32
Puke Yellow
#C2BE0E
ΔE00 6.89
Vomit Yellow
#C7C10C
ΔE00 6.92
Olive Yellow
#C2B709
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC260 #606BCD
analogous
#CD8C60 #CDC260 #A2CD60
triadic
#CDC260 #60CDC2 #C260CD
tetradic
#CDC260 #60CD8C #606BCD #CD60A2
square
#CDC260 #60CD8C #606BCD #CD60A2
split-complementary
#CDC260 #60A2CD #8C60CD
monochromatic
#887E2B #B6AA39 #CDC260 #DCD48F #EAE6BD
Accessibility & contrast
On white
1.83
#CDC260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CDC260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC260
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC260 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC57
Deuteranopia (green-blind)
#D5C265
Tritanopia (blue-blind)
#DAB7AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc260; /* rgb */ color: rgb(205, 194, 96); /* oklch */ color: oklch(80.3% 0.121 102.9);
Tailwind
colors: {
custom: {
50: '#ded490',
500: '#cdc260',
950: '#000000',
},
}SCSS
$custom: #cdc260; $custom-light: #ded490; $custom-dark: #000000;
JSON
{
"hex": "#cdc260",
"rgb": {
"r": 205,
"g": 194,
"b": 96
},
"hsl": {
"h": 53.945,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.80317,
"c": 0.12051,
"h": 102.9
},
"luminance": 0.52407
}Semantic roles & 50–950 ramp
primary
#CDC260
secondary
#424A8F
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F