#C2CD54#C2CD54
#C2CD54 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.6% C 0.145 H 114.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CD54 |
|---|---|
| RGB | rgb(194, 205, 84) |
| HSL | hsl(65, 55%, 57%) |
| HSV | hsv(65, 59%, 80%) |
| CMYK | cmyk(5.4%, 0%, 59%, 19.6%) |
| CIE-LAB | lab(79.48, -19.92, 57.48) |
| CIE-LCH | lch(79.48, 60.83, 109.11°) |
| OKLab | oklab(81.63% -0.0588 0.1323) |
| OKLCH | oklch(81.63% 0.145 114) |
| XYZ | xyz(45.6807, 55.7729, 16.7446) |
| Luminance | 0.5577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.79
Green Yellow
#B5CE08
ΔE00 5.27
Baby Puke Green
#B6C406
ΔE00 5.29
Bile
#B5C306
ΔE00 5.37
Pea
#A4BF20
ΔE00 6.04
Greenish Tan
#BCCB7A
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CD54 #5F54CD
analogous
#CD9C54 #C2CD54 #86CD54
triadic
#C2CD54 #54C2CD #CD54C2
tetradic
#C2CD54 #54CD9C #5F54CD #CD5486
square
#C2CD54 #54CD9C #5F54CD #CD5486
split-complementary
#C2CD54 #5486CD #9C54CD
monochromatic
#798126 #A5B034 #C2CD54 #D3DB83 #E4E9B3
Accessibility & contrast
On white
1.73
#C2CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.15
#C2CD54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CD54
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CD54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CD54 | 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)
#DBC446
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#CEC2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c2cd54; /* rgb */ color: rgb(194, 205, 84); /* oklch */ color: oklch(81.6% 0.145 114.0);
Tailwind
colors: {
custom: {
50: '#d7dc89',
500: '#c2cd54',
950: '#000000',
},
}SCSS
$custom: #c2cd54; $custom-light: #d7dc89; $custom-dark: #000000;
JSON
{
"hex": "#c2cd54",
"rgb": {
"r": 194,
"g": 205,
"b": 84
},
"hsl": {
"h": 65.455,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.81626,
"c": 0.14479,
"h": 114
},
"luminance": 0.55772
}Semantic roles & 50–950 ramp
primary
#C2CD54
secondary
#443D88
accent
#4ADE57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F