#CDC775#CDC775
#CDC775 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.104 H 104.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC775 |
|---|---|
| RGB | rgb(205, 199, 117) |
| HSL | hsl(56, 47%, 63%) |
| HSV | hsv(56, 43%, 80%) |
| CMYK | cmyk(0%, 2.9%, 42.9%, 19.6%) |
| CIE-LAB | lab(79.11, -9.53, 41.68) |
| CIE-LCH | lch(79.11, 42.76, 102.88°) |
| OKLab | oklab(81.66% -0.0266 0.1007) |
| OKLCH | oklch(81.66% 0.104 104.8) |
| XYZ | xyz(48.8121, 55.1116, 24.8925) |
| Luminance | 0.5511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.16
Darkkhaki
#BDB76B
ΔE00 4.22
Sand (survey)
#E2CA76
ΔE00 5.45
Greenish Tan
#BCCB7A
ΔE00 5.65
Pale Olive
#B9CC81
ΔE00 6.98
Sandy
#F1DA7A
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC775 #757BCD
analogous
#CD9B75 #CDC775 #A7CD75
triadic
#CDC775 #75CDC7 #C775CD
tetradic
#CDC775 #75CD9B #757BCD #CD75A7
square
#CDC775 #75CD9B #757BCD #CD75A7
split-complementary
#CDC775 #75A7CD #9B75CD
monochromatic
#938C35 #BDB548 #CDC775 #DDD9A2 #EEEBCF
Accessibility & contrast
On white
1.75
#CDC775 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.02
#CDC775 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC775
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC775 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC775 | 1.00 | 1.75 | 12.02 | 12.02 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C26E
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #cdc775; /* rgb */ color: rgb(205, 199, 117); /* oklch */ color: oklch(81.7% 0.104 104.8);
Tailwind
colors: {
custom: {
50: '#ded79e',
500: '#cdc775',
950: '#000000',
},
}SCSS
$custom: #cdc775; $custom-light: #ded79e; $custom-dark: #000000;
JSON
{
"hex": "#cdc775",
"rgb": {
"r": 205,
"g": 199,
"b": 117
},
"hsl": {
"h": 55.909,
"s": 46.809,
"l": 63.137
},
"oklch": {
"l": 0.81655,
"c": 0.10419,
"h": 104.8
},
"luminance": 0.5511
}Semantic roles & 50–950 ramp
primary
#CDC775
secondary
#4D5399
accent
#35BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F