#CDC461#CDC461
#CDC461 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.122 H 104.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC461 |
|---|---|
| RGB | rgb(205, 196, 97) |
| HSL | hsl(55, 52%, 59%) |
| HSV | hsv(55, 53%, 80%) |
| CMYK | cmyk(0%, 4.4%, 52.7%, 19.6%) |
| CIE-LAB | lab(78.07, -9.86, 50.19) |
| CIE-LCH | lch(78.07, 51.14, 101.11°) |
| OKLab | oklab(80.75% -0.0295 0.1179) |
| OKLCH | oklch(80.75% 0.122 104.1) |
| XYZ | xyz(47.0758, 53.3236, 19.1196) |
| Luminance | 0.5332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.47
Greenish Beige
#C9D179
ΔE00 5.72
Puke Yellow
#C2BE0E
ΔE00 6.84
Vomit Yellow
#C7C10C
ΔE00 6.87
Dirty Yellow
#CDC50A
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC461 #616ACD
analogous
#CD8E61 #CDC461 #A0CD61
triadic
#CDC461 #61CDC4 #C461CD
tetradic
#CDC461 #61CD8E #616ACD #CD61A0
square
#CDC461 #61CD8E #616ACD #CD61A0
split-complementary
#CDC461 #61A0CD #8E61CD
monochromatic
#88812B #B7AC3A #CDC461 #DCD58F #EAE7BE
Accessibility & contrast
On white
1.80
#CDC461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#CDC461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC461
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC461 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE58
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc461; /* rgb */ color: rgb(205, 196, 97); /* oklch */ color: oklch(80.8% 0.122 104.1);
Tailwind
colors: {
custom: {
50: '#ded591',
500: '#cdc461',
950: '#000000',
},
}SCSS
$custom: #cdc461; $custom-light: #ded591; $custom-dark: #000000;
JSON
{
"hex": "#cdc461",
"rgb": {
"r": 205,
"g": 196,
"b": 97
},
"hsl": {
"h": 55,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.8075,
"c": 0.12154,
"h": 104.1
},
"luminance": 0.53322
}Semantic roles & 50–950 ramp
primary
#CDC461
secondary
#43498F
accent
#58DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F