#C2CD52#C2CD52
#C2CD52 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.146 H 114.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CD52 |
|---|---|
| RGB | rgb(194, 205, 82) |
| HSL | hsl(65, 55%, 56%) |
| HSV | hsv(65, 60%, 80%) |
| CMYK | cmyk(5.4%, 0%, 60%, 19.6%) |
| CIE-LAB | lab(79.47, -20.06, 58.32) |
| CIE-LCH | lch(79.47, 61.67, 108.98°) |
| OKLab | oklab(81.61% -0.0595 0.1338) |
| OKLCH | oklch(81.61% 0.146 114) |
| XYZ | xyz(45.6035, 55.7420, 16.3379) |
| Luminance | 0.5574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.01
Green Yellow
#B5CE08
ΔE00 5.06
Baby Puke Green
#B6C406
ΔE00 5.08
Bile
#B5C306
ΔE00 5.16
Pea
#A4BF20
ΔE00 5.94
Snot
#ACBB0D
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CD52 #5D52CD
analogous
#CD9B52 #C2CD52 #85CD52
triadic
#C2CD52 #52C2CD #CD52C2
tetradic
#C2CD52 #52CD9B #5D52CD #CD5285
square
#C2CD52 #52CD9B #5D52CD #CD5285
split-complementary
#C2CD52 #5285CD #9B52CD
monochromatic
#788025 #A4AF33 #C2CD52 #D3DB81 #E3E8B1
Accessibility & contrast
On white
1.73
#C2CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.15
#C2CD52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CD52
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CD52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CD52 | 1.00 | 1.73 | 12.15 | 12.15 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2cd52; /* rgb */ color: rgb(194, 205, 82); /* oklch */ color: oklch(81.6% 0.146 114.0);
Tailwind
colors: {
custom: {
50: '#d7dc88',
500: '#c2cd52',
950: '#000000',
},
}SCSS
$custom: #c2cd52; $custom-light: #d7dc88; $custom-dark: #000000;
JSON
{
"hex": "#c2cd52",
"rgb": {
"r": 194,
"g": 205,
"b": 82
},
"hsl": {
"h": 65.366,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.81606,
"c": 0.14644,
"h": 114
},
"luminance": 0.55741
}Semantic roles & 50–950 ramp
primary
#C2CD52
secondary
#433C87
accent
#49DE57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F