#CDC26F#CDC26F
#CDC26F is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.105 H 101.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC26F |
|---|---|
| RGB | rgb(205, 194, 111) |
| HSL | hsl(53, 48%, 62%) |
| HSV | hsv(53, 46%, 80%) |
| CMYK | cmyk(0%, 5.4%, 45.9%, 19.6%) |
| CIE-LAB | lab(77.70, -7.56, 42.94) |
| CIE-LCH | lch(77.70, 43.60, 99.99°) |
| OKLab | oklab(80.52% -0.0215 0.1032) |
| OKLCH | oklch(80.52% 0.105 101.8) |
| XYZ | xyz(47.3390, 52.7119, 22.7166) |
| Luminance | 0.5271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.59
Sand (survey)
#E2CA76
ΔE00 4.58
Greenish Beige
#C9D179
ΔE00 5.89
Greenish Tan
#BCCB7A
ΔE00 7.22
Sandy
#F1DA7A
ΔE00 7.24
Sand
#C2B280
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC26F #6F7ACD
analogous
#CD936F #CDC26F #A9CD6F
triadic
#CDC26F #6FCDC2 #C26FCD
tetradic
#CDC26F #6FCD93 #6F7ACD #CD6FA9
square
#CDC26F #6FCD93 #6F7ACD #CD6FA9
split-complementary
#CDC26F #6FA9CD #936FCD
monochromatic
#908532 #BDAF42 #CDC26F #DDD59C #EDE8CA
Accessibility & contrast
On white
1.82
#CDC26F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CDC26F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC26F
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC26F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC26F | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD68
Deuteranopia (green-blind)
#D3C273
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc26f; /* rgb */ color: rgb(205, 194, 111); /* oklch */ color: oklch(80.5% 0.105 101.8);
Tailwind
colors: {
custom: {
50: '#ded49a',
500: '#cdc26f',
950: '#000000',
},
}SCSS
$custom: #cdc26f; $custom-light: #ded49a; $custom-dark: #000000;
JSON
{
"hex": "#cdc26f",
"rgb": {
"r": 205,
"g": 194,
"b": 111
},
"hsl": {
"h": 52.979,
"s": 48.454,
"l": 61.961
},
"oklch": {
"l": 0.80518,
"c": 0.10537,
"h": 101.8
},
"luminance": 0.5271
}Semantic roles & 50–950 ramp
primary
#CDC26F
secondary
#4A5396
accent
#3BBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F