#CDC361#CDC361
#CDC361 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.121 H 103.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC361 |
|---|---|
| RGB | rgb(205, 195, 97) |
| HSL | hsl(54, 52%, 59%) |
| HSV | hsv(54, 53%, 80%) |
| CMYK | cmyk(0%, 4.9%, 52.7%, 19.6%) |
| CIE-LAB | lab(77.80, -9.34, 49.88) |
| CIE-LCH | lch(77.80, 50.74, 100.61°) |
| OKLab | oklab(80.54% -0.0281 0.1172) |
| OKLCH | oklch(80.54% 0.121 103.5) |
| XYZ | xyz(46.8510, 52.8740, 19.0447) |
| Luminance | 0.5287 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.82
Sand (survey)
#E2CA76
ΔE00 5.29
Greenish Beige
#C9D179
ΔE00 5.99
Puke Yellow
#C2BE0E
ΔE00 6.92
Vomit Yellow
#C7C10C
ΔE00 6.95
Sandy
#F1DA7A
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC361 #616BCD
analogous
#CD8D61 #CDC361 #A1CD61
triadic
#CDC361 #61CDC3 #C361CD
tetradic
#CDC361 #61CD8D #616BCD #CD61A1
square
#CDC361 #61CD8D #616BCD #CD61A1
split-complementary
#CDC361 #61A1CD #8D61CD
monochromatic
#88802B #B7AB3A #CDC361 #DCD58F #EAE6BE
Accessibility & contrast
On white
1.81
#CDC361 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#CDC361 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC361
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC361 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC361 | 1.00 | 1.81 | 11.57 | 11.57 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BD58
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cdc361; /* rgb */ color: rgb(205, 195, 97); /* oklch */ color: oklch(80.5% 0.121 103.5);
Tailwind
colors: {
custom: {
50: '#ded490',
500: '#cdc361',
950: '#000000',
},
}SCSS
$custom: #cdc361; $custom-light: #ded490; $custom-dark: #000000;
JSON
{
"hex": "#cdc361",
"rgb": {
"r": 205,
"g": 195,
"b": 97
},
"hsl": {
"h": 54.444,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.8054,
"c": 0.12054,
"h": 103.5
},
"luminance": 0.52872
}Semantic roles & 50–950 ramp
primary
#CDC361
secondary
#434A8F
accent
#5ADB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F