#CDC771#CDC771
#CDC771 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.108 H 105.0°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC771 |
|---|---|
| RGB | rgb(205, 199, 113) |
| HSL | hsl(56, 48%, 62%) |
| HSV | hsv(56, 45%, 80%) |
| CMYK | cmyk(0%, 2.9%, 44.9%, 19.6%) |
| CIE-LAB | lab(79.05, -9.93, 43.61) |
| CIE-LCH | lch(79.05, 44.73, 102.83°) |
| OKLab | oklab(81.6% -0.0281 0.1048) |
| OKLCH | oklch(81.6% 0.108 105) |
| XYZ | xyz(48.5819, 55.0195, 23.6803) |
| Luminance | 0.5502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.15
Darkkhaki
#BDB76B
ΔE00 4.37
Sand (survey)
#E2CA76
ΔE00 5.46
Greenish Tan
#BCCB7A
ΔE00 5.80
Sandy
#F1DA7A
ΔE00 7.15
Pale Olive
#B9CC81
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC771 #7177CD
analogous
#CD9971 #CDC771 #A5CD71
triadic
#CDC771 #71CDC7 #C771CD
tetradic
#CDC771 #71CD99 #7177CD #CD71A5
square
#CDC771 #71CD99 #7177CD #CD71A5
split-complementary
#CDC771 #71A5CD #9971CD
monochromatic
#918B33 #BDB544 #CDC771 #DDD99E #EDEBCC
Accessibility & contrast
On white
1.75
#CDC771 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.00
#CDC771 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC771
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC771 | 1.00 | 1.75 | 12.00 | 12.00 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#D7C675
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc771; /* rgb */ color: rgb(205, 199, 113); /* oklch */ color: oklch(81.6% 0.108 105.0);
Tailwind
colors: {
custom: {
50: '#ded79b',
500: '#cdc771',
950: '#000000',
},
}SCSS
$custom: #cdc771; $custom-light: #ded79b; $custom-dark: #000000;
JSON
{
"hex": "#cdc771",
"rgb": {
"r": 205,
"g": 199,
"b": 113
},
"hsl": {
"h": 56.087,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.81596,
"c": 0.10849,
"h": 105
},
"luminance": 0.55018
}Semantic roles & 50–950 ramp
primary
#CDC771
secondary
#4B5097
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F