#C5CE52#C5CE52
#C5CE52 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.147 H 113.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C5CE52 |
|---|---|
| RGB | rgb(197, 206, 82) |
| HSL | hsl(64, 56%, 56%) |
| HSV | hsv(64, 60%, 81%) |
| CMYK | cmyk(4.4%, 0%, 60.2%, 19.2%) |
| CIE-LAB | lab(79.97, -19.33, 58.93) |
| CIE-LCH | lch(79.97, 62.02, 108.16°) |
| OKLab | oklab(82.06% -0.0576 0.1351) |
| OKLCH | oklch(82.06% 0.147 113.1) |
| XYZ | xyz(46.6214, 56.6230, 16.4544) |
| Luminance | 0.5662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.10
Baby Puke Green
#B6C406
ΔE00 5.12
Green Yellow
#B5CE08
ΔE00 5.16
Bile
#B5C306
ΔE00 5.22
Snot
#ACBB0D
ΔE00 6.36
Pea
#A4BF20
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5CE52 #5B52CE
analogous
#CE9952 #C5CE52 #87CE52
triadic
#C5CE52 #52C5CE #CE52C5
tetradic
#C5CE52 #52CE99 #5B52CE #CE5287
square
#C5CE52 #52CE99 #5B52CE #CE5287
split-complementary
#C5CE52 #5287CE #9952CE
monochromatic
#7A8125 #A8B132 #C5CE52 #D5DC82 #E5E9B1
Accessibility & contrast
On white
1.70
#C5CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.32
#C5CE52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5CE52
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5CE52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5CE52 | 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)
#DCC543
Deuteranopia (green-blind)
#DCC85A
Tritanopia (blue-blind)
#D1C3B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c5ce52; /* rgb */ color: rgb(197, 206, 82); /* oklch */ color: oklch(82.1% 0.147 113.1);
Tailwind
colors: {
custom: {
50: '#d9dc88',
500: '#c5ce52',
950: '#000000',
},
}SCSS
$custom: #c5ce52; $custom-light: #d9dc88; $custom-dark: #000000;
JSON
{
"hex": "#c5ce52",
"rgb": {
"r": 197,
"g": 206,
"b": 82
},
"hsl": {
"h": 64.355,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.82063,
"c": 0.14682,
"h": 113.1
},
"luminance": 0.56622
}Semantic roles & 50–950 ramp
primary
#C5CE52
secondary
#413C88
accent
#49DF54
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F