#C1CD51#C1CD51
#C1CD51 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.5% C 0.148 H 114.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CD51 |
|---|---|
| RGB | rgb(193, 205, 81) |
| HSL | hsl(66, 55%, 56%) |
| HSV | hsv(66, 60%, 80%) |
| CMYK | cmyk(5.9%, 0%, 60.5%, 19.6%) |
| CIE-LAB | lab(79.38, -20.54, 58.63) |
| CIE-LCH | lch(79.38, 62.13, 109.31°) |
| OKLab | oklab(81.52% -0.0608 0.1344) |
| OKLCH | oklch(81.52% 0.148 114.4) |
| XYZ | xyz(45.3099, 55.5949, 16.1270) |
| Luminance | 0.5559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.91
Baby Puke Green
#B6C406
ΔE00 5.00
Bile
#B5C306
ΔE00 5.08
Greenish Beige
#C9D179
ΔE00 5.12
Pea
#A4BF20
ΔE00 5.76
Snot
#ACBB0D
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CD51 #5D51CD
analogous
#CD9B51 #C1CD51 #83CD51
triadic
#C1CD51 #51C1CD #CD51C1
tetradic
#C1CD51 #51CD9B #5D51CD #CD5183
square
#C1CD51 #51CD9B #5D51CD #CD5183
split-complementary
#C1CD51 #5183CD #9B51CD
monochromatic
#767F25 #A3AF32 #C1CD51 #D2DB81 #E3E8B0
Accessibility & contrast
On white
1.73
#C1CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#C1CD51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CD51
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CD51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CD51 | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#CDC2B3
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #c1cd51; /* rgb */ color: rgb(193, 205, 81); /* oklch */ color: oklch(81.5% 0.148 114.4);
Tailwind
colors: {
custom: {
50: '#d6dc87',
500: '#c1cd51',
950: '#000000',
},
}SCSS
$custom: #c1cd51; $custom-light: #d6dc87; $custom-dark: #000000;
JSON
{
"hex": "#c1cd51",
"rgb": {
"r": 193,
"g": 205,
"b": 81
},
"hsl": {
"h": 65.806,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.81518,
"c": 0.14752,
"h": 114.4
},
"luminance": 0.55594
}Semantic roles & 50–950 ramp
primary
#C1CD51
secondary
#433B87
accent
#49DF58
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15150C
muted
#84847F