#CDC26D#CDC26D
#CDC26D is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.107 H 102.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC26D |
|---|---|
| RGB | rgb(205, 194, 109) |
| HSL | hsl(53, 49%, 62%) |
| HSV | hsv(53, 47%, 80%) |
| CMYK | cmyk(0%, 5.4%, 46.8%, 19.6%) |
| CIE-LAB | lab(77.68, -7.76, 43.90) |
| CIE-LCH | lch(77.68, 44.58, 100.02°) |
| OKLab | oklab(80.49% -0.0223 0.1052) |
| OKLCH | oklch(80.49% 0.107 102) |
| XYZ | xyz(47.2301, 52.6683, 22.1431) |
| Luminance | 0.5267 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.69
Sand (survey)
#E2CA76
ΔE00 4.61
Greenish Beige
#C9D179
ΔE00 5.90
Sandy
#F1DA7A
ΔE00 7.18
Greenish Tan
#BCCB7A
ΔE00 7.28
Desert
#CCAD60
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC26D #6D78CD
analogous
#CD926D #CDC26D #A8CD6D
triadic
#CDC26D #6DCDC2 #C26DCD
tetradic
#CDC26D #6DCD92 #6D78CD #CD6DA8
square
#CDC26D #6DCD92 #6D78CD #CD6DA8
split-complementary
#CDC26D #6DA8CD #926DCD
monochromatic
#8F8431 #BCAE40 #CDC26D #DDD59B #ECE8C8
Accessibility & contrast
On white
1.82
#CDC26D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CDC26D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC26D
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC26D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC26D | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD66
Deuteranopia (green-blind)
#D3C271
Tritanopia (blue-blind)
#DAB8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc26d; /* rgb */ color: rgb(205, 194, 109); /* oklch */ color: oklch(80.5% 0.107 102.0);
Tailwind
colors: {
custom: {
50: '#ded498',
500: '#cdc26d',
950: '#000000',
},
}SCSS
$custom: #cdc26d; $custom-light: #ded498; $custom-dark: #000000;
JSON
{
"hex": "#cdc26d",
"rgb": {
"r": 205,
"g": 194,
"b": 109
},
"hsl": {
"h": 53.125,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.80489,
"c": 0.10748,
"h": 102
},
"luminance": 0.52667
}Semantic roles & 50–950 ramp
primary
#CDC26D
secondary
#495295
accent
#3ABC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F