#CDC261#CDC261
#CDC261 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.120 H 102.9°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC261 |
|---|---|
| RGB | rgb(205, 194, 97) |
| HSL | hsl(54, 52%, 59%) |
| HSV | hsv(54, 53%, 80%) |
| CMYK | cmyk(0%, 5.4%, 52.7%, 19.6%) |
| CIE-LAB | lab(77.54, -8.83, 49.56) |
| CIE-LCH | lch(77.54, 50.34, 100.10°) |
| OKLab | oklab(80.33% -0.0266 0.1166) |
| OKLCH | oklch(80.33% 0.12 102.9) |
| XYZ | xyz(46.6277, 52.4273, 18.9703) |
| Luminance | 0.5243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.67
Sand (survey)
#E2CA76
ΔE00 5.13
Greenish Beige
#C9D179
ΔE00 6.27
Puke Yellow
#C2BE0E
ΔE00 7.02
Vomit Yellow
#C7C10C
ΔE00 7.06
Sandy
#F1DA7A
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC261 #616CCD
analogous
#CD8C61 #CDC261 #A2CD61
triadic
#CDC261 #61CDC2 #C261CD
tetradic
#CDC261 #61CD8C #616CCD #CD61A2
square
#CDC261 #61CD8C #616CCD #CD61A2
split-complementary
#CDC261 #61A2CD #8C61CD
monochromatic
#887F2B #B7AA3A #CDC261 #DCD48F #EAE6BE
Accessibility & contrast
On white
1.83
#CDC261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CDC261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC261
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC261 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BD58
Deuteranopia (green-blind)
#D4C266
Tritanopia (blue-blind)
#DAB7AC
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc261; /* rgb */ color: rgb(205, 194, 97); /* oklch */ color: oklch(80.3% 0.120 102.9);
Tailwind
colors: {
custom: {
50: '#ded490',
500: '#cdc261',
950: '#000000',
},
}SCSS
$custom: #cdc261; $custom-light: #ded490; $custom-dark: #000000;
JSON
{
"hex": "#cdc261",
"rgb": {
"r": 205,
"g": 194,
"b": 97
},
"hsl": {
"h": 53.889,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.80329,
"c": 0.11956,
"h": 102.9
},
"luminance": 0.52426
}Semantic roles & 50–950 ramp
primary
#CDC261
secondary
#434B8F
accent
#5BDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F