#C2CE51#C2CE51
#C2CE51 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.8% C 0.148 H 114.3°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CE51 |
|---|---|
| RGB | rgb(194, 206, 81) |
| HSL | hsl(66, 56%, 56%) |
| HSV | hsv(66, 61%, 81%) |
| CMYK | cmyk(5.8%, 0%, 60.7%, 19.2%) |
| CIE-LAB | lab(79.73, -20.63, 59.03) |
| CIE-LCH | lch(79.73, 62.53, 109.26°) |
| OKLab | oklab(81.82% -0.0611 0.1352) |
| OKLCH | oklch(81.82% 0.148 114.3) |
| XYZ | xyz(45.8057, 56.2068, 16.2190) |
| Luminance | 0.5621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.85
Baby Puke Green
#B6C406
ΔE00 5.04
Bile
#B5C306
ΔE00 5.14
Greenish Beige
#C9D179
ΔE00 5.16
Pea
#A4BF20
ΔE00 5.92
Snot
#ACBB0D
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CE51 #5D51CE
analogous
#CE9C51 #C2CE51 #84CE51
triadic
#C2CE51 #51C2CE #CE51C2
tetradic
#C2CE51 #51CE9C #5D51CE #CE5184
square
#C2CE51 #51CE9C #5D51CE #CE5184
split-complementary
#C2CE51 #5184CE #9C51CE
monochromatic
#788024 #A4B032 #C2CE51 #D3DB81 #E3E9B1
Accessibility & contrast
On white
1.72
#C2CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.24
#C2CE51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CE51
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CE51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CE51 | 1.00 | 1.72 | 12.24 | 12.24 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#CEC3B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2ce51; /* rgb */ color: rgb(194, 206, 81); /* oklch */ color: oklch(81.8% 0.148 114.3);
Tailwind
colors: {
custom: {
50: '#d7dc87',
500: '#c2ce51',
950: '#000000',
},
}SCSS
$custom: #c2ce51; $custom-light: #d7dc87; $custom-dark: #000000;
JSON
{
"hex": "#c2ce51",
"rgb": {
"r": 194,
"g": 206,
"b": 81
},
"hsl": {
"h": 65.76,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.81815,
"c": 0.1484,
"h": 114.3
},
"luminance": 0.56206
}Semantic roles & 50–950 ramp
primary
#C2CE51
secondary
#433B88
accent
#48DF57
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F