#CDC276#CDC276
#CDC276 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.098 H 101.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC276 |
|---|---|
| RGB | rgb(205, 194, 118) |
| HSL | hsl(52, 47%, 63%) |
| HSV | hsv(52, 42%, 80%) |
| CMYK | cmyk(0%, 5.4%, 42.4%, 19.6%) |
| CIE-LAB | lab(77.80, -6.86, 39.54) |
| CIE-LCH | lch(77.80, 40.13, 99.84°) |
| OKLab | oklab(80.62% -0.0188 0.0959) |
| OKLCH | oklch(80.62% 0.098 101.1) |
| XYZ | xyz(47.7397, 52.8721, 24.8266) |
| Luminance | 0.5287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.48
Sand (survey)
#E2CA76
ΔE00 4.67
Greenish Beige
#C9D179
ΔE00 6.06
Sand
#C2B280
ΔE00 6.71
Greenish Tan
#BCCB7A
ΔE00 7.15
Tan (survey)
#D1B26F
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC276 #7681CD
analogous
#CD9676 #CDC276 #ACCD76
triadic
#CDC276 #76CDC2 #C276CD
tetradic
#CDC276 #76CD96 #7681CD #CD76AC
square
#CDC276 #76CD96 #7681CD #CD76AC
split-complementary
#CDC276 #76ACCD #9676CD
monochromatic
#938736 #BDAE49 #CDC276 #DDD6A3 #EEEAD0
Accessibility & contrast
On white
1.81
#CDC276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#CDC276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC276
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC276 | 1.00 | 1.81 | 11.57 | 11.57 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc276; /* rgb */ color: rgb(205, 194, 118); /* oklch */ color: oklch(80.6% 0.098 101.1);
Tailwind
colors: {
custom: {
50: '#ded49e',
500: '#cdc276',
950: '#000000',
},
}SCSS
$custom: #cdc276; $custom-light: #ded49e; $custom-dark: #000000;
JSON
{
"hex": "#cdc276",
"rgb": {
"r": 205,
"g": 194,
"b": 118
},
"hsl": {
"h": 52.414,
"s": 46.524,
"l": 63.333
},
"oklch": {
"l": 0.80624,
"c": 0.09778,
"h": 101.1
},
"luminance": 0.52871
}Semantic roles & 50–950 ramp
primary
#CDC276
secondary
#4E5799
accent
#3EBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F