#CDC773#CDC773
#CDC773 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.106 H 104.9°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC773 |
|---|---|
| RGB | rgb(205, 199, 115) |
| HSL | hsl(56, 47%, 63%) |
| HSV | hsv(56, 44%, 80%) |
| CMYK | cmyk(0%, 2.9%, 43.9%, 19.6%) |
| CIE-LAB | lab(79.08, -9.74, 42.65) |
| CIE-LCH | lch(79.08, 43.75, 102.86°) |
| OKLab | oklab(81.63% -0.0274 0.1028) |
| OKLCH | oklch(81.63% 0.106 104.9) |
| XYZ | xyz(48.6958, 55.0651, 24.2798) |
| Luminance | 0.5506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.14
Darkkhaki
#BDB76B
ΔE00 4.28
Sand (survey)
#E2CA76
ΔE00 5.44
Greenish Tan
#BCCB7A
ΔE00 5.72
Pale Olive
#B9CC81
ΔE00 7.09
Sandy
#F1DA7A
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC773 #7379CD
analogous
#CD9A73 #CDC773 #A6CD73
triadic
#CDC773 #73CDC7 #C773CD
tetradic
#CDC773 #73CD9A #7379CD #CD73A6
square
#CDC773 #73CD9A #7379CD #CD73A6
split-complementary
#CDC773 #73A6CD #9A73CD
monochromatic
#928B34 #BDB546 #CDC773 #DDD9A0 #EDEBCD
Accessibility & contrast
On white
1.75
#CDC773 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.01
#CDC773 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC773
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC773 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC773 | 1.00 | 1.75 | 12.01 | 12.01 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C16C
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc773; /* rgb */ color: rgb(205, 199, 115); /* oklch */ color: oklch(81.6% 0.106 104.9);
Tailwind
colors: {
custom: {
50: '#ded79d',
500: '#cdc773',
950: '#000000',
},
}SCSS
$custom: #cdc773; $custom-light: #ded79d; $custom-dark: #000000;
JSON
{
"hex": "#cdc773",
"rgb": {
"r": 205,
"g": 199,
"b": 115
},
"hsl": {
"h": 56,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.81625,
"c": 0.10635,
"h": 104.9
},
"luminance": 0.55064
}Semantic roles & 50–950 ramp
primary
#CDC773
secondary
#4C5198
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F