#CDC27F#CDC27F
#CDC27F is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.088 H 100.1°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC27F |
|---|---|
| RGB | rgb(205, 194, 127) |
| HSL | hsl(52, 44%, 65%) |
| HSV | hsv(52, 38%, 80%) |
| CMYK | cmyk(0%, 5.4%, 38%, 19.6%) |
| CIE-LAB | lab(77.93, -5.88, 35.10) |
| CIE-LCH | lch(77.93, 35.59, 99.51°) |
| OKLab | oklab(80.77% -0.0153 0.0863) |
| OKLCH | oklch(80.77% 0.088 100.1) |
| XYZ | xyz(48.3002, 53.0964, 27.7789) |
| Luminance | 0.5310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.00
Sand (survey)
#E2CA76
ΔE00 5.25
Sand
#C2B280
ΔE00 5.56
Greenish Beige
#C9D179
ΔE00 6.69
Beige (survey)
#E6DAA6
ΔE00 6.95
Tan (survey)
#D1B26F
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC27F #7F8ACD
analogous
#CD9B7F #CDC27F #B1CD7F
triadic
#CDC27F #7FCDC2 #C27FCD
tetradic
#CDC27F #7FCD9B #7F8ACD #CD7FB1
square
#CDC27F #7FCD9B #7F8ACD #CD7FB1
split-complementary
#CDC27F #7FB1CD #9B7FCD
monochromatic
#978A3B #BCAD53 #CDC27F #DED7AB #EFECD7
Accessibility & contrast
On white
1.81
#CDC27F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#CDC27F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC27F
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC27F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC27F | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#D1C382
Tritanopia (blue-blind)
#D8B9B1
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc27f; /* rgb */ color: rgb(205, 194, 127); /* oklch */ color: oklch(80.8% 0.088 100.1);
Tailwind
colors: {
custom: {
50: '#ddd4a5',
500: '#cdc27f',
950: '#000000',
},
}SCSS
$custom: #cdc27f; $custom-light: #ddd4a5; $custom-dark: #000000;
JSON
{
"hex": "#cdc27f",
"rgb": {
"r": 205,
"g": 194,
"b": 127
},
"hsl": {
"h": 51.538,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.80772,
"c": 0.08762,
"h": 100.1
},
"luminance": 0.53095
}Semantic roles & 50–950 ramp
primary
#CDC27F
secondary
#535E9D
accent
#42B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380