#CDC96A#CDC96A
#CDC96A is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.118 H 106.6°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC96A |
|---|---|
| RGB | rgb(205, 201, 106) |
| HSL | hsl(58, 50%, 61%) |
| HSV | hsv(58, 48%, 80%) |
| CMYK | cmyk(0%, 2%, 48.3%, 19.6%) |
| CIE-LAB | lab(79.50, -11.62, 47.58) |
| CIE-LCH | lch(79.50, 48.98, 103.72°) |
| OKLab | oklab(81.92% -0.0336 0.113) |
| OKLCH | oklch(81.92% 0.118 106.6) |
| XYZ | xyz(48.6661, 55.7943, 21.8387) |
| Luminance | 0.5579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.85
Darkkhaki
#BDB76B
ΔE00 5.30
Greenish Tan
#BCCB7A
ΔE00 5.85
Sand (survey)
#E2CA76
ΔE00 6.11
Sandy
#F1DA7A
ΔE00 7.14
Light Olive
#ACBF69
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC96A #6A6ECD
analogous
#CD976A #CDC96A #9FCD6A
triadic
#CDC96A #6ACDC9 #C96ACD
tetradic
#CDC96A #6ACD97 #6A6ECD #CD6A9F
square
#CDC96A #6ACD97 #6A6ECD #CD6A9F
split-complementary
#CDC96A #6A9FCD #976ACD
monochromatic
#8D892F #BBB63F #CDC96A #DCDA98 #ECEAC6
Accessibility & contrast
On white
1.73
#CDC96A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.16
#CDC96A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC96A
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC96A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC96A | 1.00 | 1.73 | 12.16 | 12.16 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C362
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdc96a; /* rgb */ color: rgb(205, 201, 106); /* oklch */ color: oklch(81.9% 0.118 106.6);
Tailwind
colors: {
custom: {
50: '#ded997',
500: '#cdc96a',
950: '#000000',
},
}SCSS
$custom: #cdc96a; $custom-light: #ded997; $custom-dark: #000000;
JSON
{
"hex": "#cdc96a",
"rgb": {
"r": 205,
"g": 201,
"b": 106
},
"hsl": {
"h": 57.576,
"s": 49.749,
"l": 60.98
},
"oklch": {
"l": 0.81921,
"c": 0.11793,
"h": 106.6
},
"luminance": 0.55793
}Semantic roles & 50–950 ramp
primary
#CDC96A
secondary
#474B94
accent
#2EBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F