#CDC274#CDC274
#CDC274 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.100 H 101.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC274 |
|---|---|
| RGB | rgb(205, 194, 116) |
| HSL | hsl(53, 47%, 63%) |
| HSV | hsv(53, 43%, 80%) |
| CMYK | cmyk(0%, 5.4%, 43.4%, 19.6%) |
| CIE-LAB | lab(77.77, -7.06, 40.52) |
| CIE-LCH | lch(77.77, 41.13, 99.89°) |
| OKLab | oklab(80.59% -0.0196 0.098) |
| OKLCH | oklch(80.59% 0.1 101.3) |
| XYZ | xyz(47.6221, 52.8251, 24.2073) |
| Luminance | 0.5282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.47
Sand (survey)
#E2CA76
ΔE00 4.61
Greenish Beige
#C9D179
ΔE00 5.98
Sand
#C2B280
ΔE00 6.97
Greenish Tan
#BCCB7A
ΔE00 7.14
Sandy
#F1DA7A
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC274 #747FCD
analogous
#CD9574 #CDC274 #ACCD74
triadic
#CDC274 #74CDC2 #C274CD
tetradic
#CDC274 #74CD95 #747FCD #CD74AC
square
#CDC274 #74CD95 #747FCD #CD74AC
split-complementary
#CDC274 #74ACCD #9574CD
monochromatic
#928735 #BDAE47 #CDC274 #DDD6A1 #EDEACE
Accessibility & contrast
On white
1.82
#CDC274 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#CDC274 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC274
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC274 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC274 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD6E
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc274; /* rgb */ color: rgb(205, 194, 116); /* oklch */ color: oklch(80.6% 0.100 101.3);
Tailwind
colors: {
custom: {
50: '#ded49d',
500: '#cdc274',
950: '#000000',
},
}SCSS
$custom: #cdc274; $custom-light: #ded49d; $custom-dark: #000000;
JSON
{
"hex": "#cdc274",
"rgb": {
"r": 205,
"g": 194,
"b": 116
},
"hsl": {
"h": 52.584,
"s": 47.09,
"l": 62.941
},
"oklch": {
"l": 0.80593,
"c": 0.09998,
"h": 101.3
},
"luminance": 0.52824
}Semantic roles & 50–950 ramp
primary
#CDC274
secondary
#4D5698
accent
#3DBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F