#CDC373#CDC373
#CDC373 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.102 H 102.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC373 |
|---|---|
| RGB | rgb(205, 195, 115) |
| HSL | hsl(53, 47%, 63%) |
| HSV | hsv(53, 44%, 80%) |
| CMYK | cmyk(0%, 4.9%, 43.9%, 19.6%) |
| CIE-LAB | lab(78.02, -7.68, 41.33) |
| CIE-LCH | lch(78.02, 42.04, 100.53°) |
| OKLab | oklab(80.79% -0.0215 0.0998) |
| OKLCH | oklch(80.79% 0.102 102.1) |
| XYZ | xyz(47.7875, 53.2486, 23.9770) |
| Luminance | 0.5325 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.57
Sand (survey)
#E2CA76
ΔE00 4.72
Greenish Beige
#C9D179
ΔE00 5.58
Greenish Tan
#BCCB7A
ΔE00 6.84
Sandy
#F1DA7A
ΔE00 7.32
Sand
#C2B280
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC373 #737DCD
analogous
#CD9673 #CDC373 #AACD73
triadic
#CDC373 #73CDC3 #C373CD
tetradic
#CDC373 #73CD96 #737DCD #CD73AA
square
#CDC373 #73CD96 #737DCD #CD73AA
split-complementary
#CDC373 #73AACD #9673CD
monochromatic
#928734 #BDB046 #CDC373 #DDD6A0 #EDEACD
Accessibility & contrast
On white
1.80
#CDC373 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#CDC373 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC373
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC373 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC373 | 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)
#D0BE6D
Deuteranopia (green-blind)
#D3C376
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc373; /* rgb */ color: rgb(205, 195, 115); /* oklch */ color: oklch(80.8% 0.102 102.1);
Tailwind
colors: {
custom: {
50: '#ded59c',
500: '#cdc373',
950: '#000000',
},
}SCSS
$custom: #cdc373; $custom-light: #ded59c; $custom-dark: #000000;
JSON
{
"hex": "#cdc373",
"rgb": {
"r": 205,
"g": 195,
"b": 115
},
"hsl": {
"h": 53.333,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.80787,
"c": 0.1021,
"h": 102.1
},
"luminance": 0.53247
}Semantic roles & 50–950 ramp
primary
#CDC373
secondary
#4C5598
accent
#3BBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F