#CDC76D#CDC76D
#CDC76D is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.113 H 105.2°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC76D |
|---|---|
| RGB | rgb(205, 199, 109) |
| HSL | hsl(56, 49%, 62%) |
| HSV | hsv(56, 47%, 80%) |
| CMYK | cmyk(0%, 2.9%, 46.8%, 19.6%) |
| CIE-LAB | lab(79.00, -10.32, 45.52) |
| CIE-LCH | lch(79.00, 46.67, 102.77°) |
| OKLab | oklab(81.54% -0.0296 0.1087) |
| OKLCH | oklch(81.54% 0.113 105.2) |
| XYZ | xyz(48.3617, 54.9314, 22.5203) |
| Luminance | 0.5493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.25
Darkkhaki
#BDB76B
ΔE00 4.60
Sand (survey)
#E2CA76
ΔE00 5.54
Greenish Tan
#BCCB7A
ΔE00 6.02
Sandy
#F1DA7A
ΔE00 7.07
Light Olive
#ACBF69
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC76D #6D73CD
analogous
#CD976D #CDC76D #A3CD6D
triadic
#CDC76D #6DCDC7 #C76DCD
tetradic
#CDC76D #6DCD97 #6D73CD #CD6DA3
square
#CDC76D #6DCD97 #6D73CD #CD6DA3
split-complementary
#CDC76D #6DA3CD #976DCD
monochromatic
#8F8931 #BCB540 #CDC76D #DDD89B #ECEAC8
Accessibility & contrast
On white
1.75
#CDC76D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#CDC76D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC76D
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC76D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC76D | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C165
Deuteranopia (green-blind)
#D7C671
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc76d; /* rgb */ color: rgb(205, 199, 109); /* oklch */ color: oklch(81.5% 0.113 105.2);
Tailwind
colors: {
custom: {
50: '#ded799',
500: '#cdc76d',
950: '#000000',
},
}SCSS
$custom: #cdc76d; $custom-light: #ded799; $custom-dark: #000000;
JSON
{
"hex": "#cdc76d",
"rgb": {
"r": 205,
"g": 199,
"b": 109
},
"hsl": {
"h": 56.25,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.81539,
"c": 0.11269,
"h": 105.2
},
"luminance": 0.5493
}Semantic roles & 50–950 ramp
primary
#CDC76D
secondary
#494E95
accent
#32BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F