#CDC374#CDC374
#CDC374 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.101 H 102.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC374 |
|---|---|
| RGB | rgb(205, 195, 116) |
| HSL | hsl(53, 47%, 63%) |
| HSV | hsv(53, 43%, 80%) |
| CMYK | cmyk(0%, 4.9%, 43.4%, 19.6%) |
| CIE-LAB | lab(78.04, -7.58, 40.85) |
| CIE-LCH | lch(78.04, 41.54, 100.51°) |
| OKLab | oklab(80.8% -0.0211 0.0988) |
| OKLCH | oklch(80.8% 0.101 102.1) |
| XYZ | xyz(47.8454, 53.2717, 24.2817) |
| Luminance | 0.5327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.56
Sand (survey)
#E2CA76
ΔE00 4.73
Greenish Beige
#C9D179
ΔE00 5.60
Greenish Tan
#BCCB7A
ΔE00 6.83
Sand
#C2B280
ΔE00 7.29
Sandy
#F1DA7A
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC374 #747ECD
analogous
#CD9674 #CDC374 #ABCD74
triadic
#CDC374 #74CDC3 #C374CD
tetradic
#CDC374 #74CD96 #747ECD #CD74AB
square
#CDC374 #74CD96 #747ECD #CD74AB
split-complementary
#CDC374 #74ABCD #9674CD
monochromatic
#928835 #BDB047 #CDC374 #DDD6A1 #EDEACE
Accessibility & contrast
On white
1.80
#CDC374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#CDC374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC374
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC374 | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc374; /* rgb */ color: rgb(205, 195, 116); /* oklch */ color: oklch(80.8% 0.101 102.1);
Tailwind
colors: {
custom: {
50: '#ded59d',
500: '#cdc374',
950: '#000000',
},
}SCSS
$custom: #cdc374; $custom-light: #ded59d; $custom-dark: #000000;
JSON
{
"hex": "#cdc374",
"rgb": {
"r": 205,
"g": 195,
"b": 116
},
"hsl": {
"h": 53.258,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.80802,
"c": 0.10101,
"h": 102.1
},
"luminance": 0.5327
}Semantic roles & 50–950 ramp
primary
#CDC374
secondary
#4D5598
accent
#3BBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F