#CDC270#CDC270
#CDC270 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.104 H 101.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC270 |
|---|---|
| RGB | rgb(205, 194, 112) |
| HSL | hsl(53, 48%, 62%) |
| HSV | hsv(53, 45%, 80%) |
| CMYK | cmyk(0%, 5.4%, 45.4%, 19.6%) |
| CIE-LAB | lab(77.72, -7.46, 42.46) |
| CIE-LCH | lch(77.72, 43.11, 99.97°) |
| OKLab | oklab(80.53% -0.0211 0.1021) |
| OKLCH | oklch(80.53% 0.104 101.7) |
| XYZ | xyz(47.3944, 52.7340, 23.0082) |
| Luminance | 0.5273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.55
Sand (survey)
#E2CA76
ΔE00 4.58
Greenish Beige
#C9D179
ΔE00 5.90
Greenish Tan
#BCCB7A
ΔE00 7.19
Sandy
#F1DA7A
ΔE00 7.27
Sand
#C2B280
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC270 #707BCD
analogous
#CD9370 #CDC270 #AACD70
triadic
#CDC270 #70CDC2 #C270CD
tetradic
#CDC270 #70CD93 #707BCD #CD70AA
square
#CDC270 #70CD93 #707BCD #CD70AA
split-complementary
#CDC270 #70AACD #9370CD
monochromatic
#908532 #BDAF43 #CDC270 #DDD59D #EDE9CB
Accessibility & contrast
On white
1.82
#CDC270 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#CDC270 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC270
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC270 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC270 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD69
Deuteranopia (green-blind)
#D3C273
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc270; /* rgb */ color: rgb(205, 194, 112); /* oklch */ color: oklch(80.5% 0.104 101.7);
Tailwind
colors: {
custom: {
50: '#ded49a',
500: '#cdc270',
950: '#000000',
},
}SCSS
$custom: #cdc270; $custom-light: #ded49a; $custom-dark: #000000;
JSON
{
"hex": "#cdc270",
"rgb": {
"r": 205,
"g": 194,
"b": 112
},
"hsl": {
"h": 52.903,
"s": 48.187,
"l": 62.157
},
"oklch": {
"l": 0.80533,
"c": 0.1043,
"h": 101.7
},
"luminance": 0.52733
}Semantic roles & 50–950 ramp
primary
#CDC270
secondary
#4B5497
accent
#3BBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F