#CDC772#CDC772
#CDC772 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.107 H 105.0°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC772 |
|---|---|
| RGB | rgb(205, 199, 114) |
| HSL | hsl(56, 48%, 63%) |
| HSV | hsv(56, 44%, 80%) |
| CMYK | cmyk(0%, 2.9%, 44.4%, 19.6%) |
| CIE-LAB | lab(79.07, -9.84, 43.13) |
| CIE-LCH | lch(79.07, 44.24, 102.85°) |
| OKLab | oklab(81.61% -0.0278 0.1038) |
| OKLCH | oklch(81.61% 0.107 105) |
| XYZ | xyz(48.6386, 55.0422, 23.9784) |
| Luminance | 0.5504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.14
Darkkhaki
#BDB76B
ΔE00 4.32
Sand (survey)
#E2CA76
ΔE00 5.45
Greenish Tan
#BCCB7A
ΔE00 5.76
Pale Olive
#B9CC81
ΔE00 7.15
Sandy
#F1DA7A
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC772 #7278CD
analogous
#CD9A72 #CDC772 #A5CD72
triadic
#CDC772 #72CDC7 #C772CD
tetradic
#CDC772 #72CD9A #7278CD #CD72A5
square
#CDC772 #72CD9A #7278CD #CD72A5
split-complementary
#CDC772 #72A5CD #9A72CD
monochromatic
#918B33 #BDB545 #CDC772 #DDD99F #EDEBCC
Accessibility & contrast
On white
1.75
#CDC772 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.01
#CDC772 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC772
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC772 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC772 | 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)
#D4C16B
Deuteranopia (green-blind)
#D7C676
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc772; /* rgb */ color: rgb(205, 199, 114); /* oklch */ color: oklch(81.6% 0.107 105.0);
Tailwind
colors: {
custom: {
50: '#ded79c',
500: '#cdc772',
950: '#000000',
},
}SCSS
$custom: #cdc772; $custom-light: #ded79c; $custom-dark: #000000;
JSON
{
"hex": "#cdc772",
"rgb": {
"r": 205,
"g": 199,
"b": 114
},
"hsl": {
"h": 56.044,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.81611,
"c": 0.10743,
"h": 105
},
"luminance": 0.55041
}Semantic roles & 50–950 ramp
primary
#CDC772
secondary
#4C5197
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F