#C1CF40#C1CF40
#C1CF40 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.162 H 114.9°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C1CF40 |
|---|---|
| RGB | rgb(193, 207, 64) |
| HSL | hsl(66, 60%, 53%) |
| HSV | hsv(66, 69%, 81%) |
| CMYK | cmyk(6.8%, 0%, 69.1%, 18.8%) |
| CIE-LAB | lab(79.80, -22.58, 65.84) |
| CIE-LCH | lch(79.80, 69.61, 108.93°) |
| OKLab | oklab(81.81% -0.0682 0.1471) |
| OKLCH | oklch(81.81% 0.162 114.9) |
| XYZ | xyz(45.2318, 56.3340, 13.3403) |
| Luminance | 0.5633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.24
Baby Puke Green
#B6C406
ΔE00 3.78
Bile
#B5C306
ΔE00 3.94
Pea
#A4BF20
ΔE00 5.43
Snot
#ACBB0D
ΔE00 5.52
Sickly Yellow
#D0E429
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1CF40 #4E40CF
analogous
#CF9540 #C1CF40 #79CF40
triadic
#C1CF40 #40C1CF #CF40C1
tetradic
#C1CF40 #40CF95 #4E40CF #CF4079
square
#C1CF40 #40CF95 #4E40CF #CF4079
split-complementary
#C1CF40 #4079CF #9540CF
monochromatic
#6E771E #9BA82A #C1CF40 #D1DB71 #E1E8A2
Accessibility & contrast
On white
1.71
#C1CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.27
#C1CF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1CF40
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1CF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1CF40 | 1.00 | 1.71 | 12.27 | 12.27 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#DDC74B
Tritanopia (blue-blind)
#CDC3B3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c1cf40; /* rgb */ color: rgb(193, 207, 64); /* oklch */ color: oklch(81.8% 0.162 114.9);
Tailwind
colors: {
custom: {
50: '#d7dd7d',
500: '#c1cf40',
950: '#000000',
},
}SCSS
$custom: #c1cf40; $custom-light: #d7dd7d; $custom-dark: #000000;
JSON
{
"hex": "#c1cf40",
"rgb": {
"r": 193,
"g": 207,
"b": 64
},
"hsl": {
"h": 65.874,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.81814,
"c": 0.16216,
"h": 114.9
},
"luminance": 0.56333
}Semantic roles & 50–950 ramp
primary
#C1CF40
secondary
#3B347F
accent
#45E354
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D