#C5CE51#C5CE51
#C5CE51 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.148 H 113.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CE51 |
|---|---|
| RGB | rgb(197, 206, 81) |
| HSL | hsl(64, 56%, 56%) |
| HSV | hsv(64, 61%, 81%) |
| CMYK | cmyk(4.4%, 0%, 60.7%, 19.2%) |
| CIE-LAB | lab(79.96, -19.40, 59.35) |
| CIE-LCH | lch(79.96, 62.44, 108.10°) |
| OKLab | oklab(82.05% -0.0579 0.1358) |
| OKLCH | oklch(82.05% 0.148 113.1) |
| XYZ | xyz(46.5836, 56.6079, 16.2555) |
| Luminance | 0.5661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 5.02
Green Yellow
#B5CE08
ΔE00 5.07
Bile
#B5C306
ΔE00 5.13
Greenish Beige
#C9D179
ΔE00 5.21
Snot
#ACBB0D
ΔE00 6.30
Pea
#A4BF20
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CE51 #5A51CE
analogous
#CE9951 #C5CE51 #87CE51
triadic
#C5CE51 #51C5CE #CE51C5
tetradic
#C5CE51 #51CE99 #5A51CE #CE5187
square
#C5CE51 #51CE99 #5A51CE #CE5187
split-complementary
#C5CE51 #5187CE #9951CE
monochromatic
#7A8024 #A7B032 #C5CE51 #D5DB81 #E5E9B1
Accessibility & contrast
On white
1.70
#C5CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.32
#C5CE51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CE51
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CE51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CE51 | 1.00 | 1.70 | 12.32 | 12.32 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c5ce51; /* rgb */ color: rgb(197, 206, 81); /* oklch */ color: oklch(82.1% 0.148 113.1);
Tailwind
colors: {
custom: {
50: '#d9dc87',
500: '#c5ce51',
950: '#000000',
},
}SCSS
$custom: #c5ce51; $custom-light: #d9dc87; $custom-dark: #000000;
JSON
{
"hex": "#c5ce51",
"rgb": {
"r": 197,
"g": 206,
"b": 81
},
"hsl": {
"h": 64.32,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.82053,
"c": 0.14763,
"h": 113.1
},
"luminance": 0.56607
}Semantic roles & 50–950 ramp
primary
#C5CE51
secondary
#413B88
accent
#48DF53
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F