#C2CF37#C2CF37
#C2CF37 is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.8% C 0.167 H 114.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF37 |
|---|---|
| RGB | rgb(194, 207, 55) |
| HSL | hsl(65, 61%, 51%) |
| HSV | hsv(65, 73%, 81%) |
| CMYK | cmyk(6.3%, 0%, 73.4%, 18.8%) |
| CIE-LAB | lab(79.82, -22.61, 69.03) |
| CIE-LCH | lch(79.82, 72.64, 108.14°) |
| OKLab | oklab(81.83% -0.0692 0.1523) |
| OKLCH | oklch(81.83% 0.167 114.4) |
| XYZ | xyz(45.2519, 56.3717, 12.1107) |
| Luminance | 0.5637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.86
Baby Puke Green
#B6C406
ΔE00 3.31
Bile
#B5C306
ΔE00 3.50
Sickly Yellow
#D0E429
ΔE00 5.18
Snot
#ACBB0D
ΔE00 5.36
Pea
#A4BF20
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF37 #4437CF
analogous
#CF9037 #C2CF37 #76CF37
triadic
#C2CF37 #37C2CF #CF37C2
tetradic
#C2CF37 #37CF90 #4437CF #CF3776
square
#C2CF37 #37CF90 #4437CF #CF3776
split-complementary
#C2CF37 #3776CF #9037CF
monochromatic
#69711B #97A227 #C2CF37 #D1DB68 #E0E79A
Accessibility & contrast
On white
1.71
#C2CF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.27
#C2CF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF37
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF37 | 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)
#DEC516
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf37; /* rgb */ color: rgb(194, 207, 55); /* oklch */ color: oklch(81.8% 0.167 114.4);
Tailwind
colors: {
custom: {
50: '#d8dd79',
500: '#c2cf37',
950: '#000000',
},
}SCSS
$custom: #c2cf37; $custom-light: #d8dd79; $custom-dark: #000000;
JSON
{
"hex": "#c2cf37",
"rgb": {
"r": 194,
"g": 207,
"b": 55
},
"hsl": {
"h": 65.132,
"s": 61.29,
"l": 51.373
},
"oklch": {
"l": 0.81833,
"c": 0.16727,
"h": 114.4
},
"luminance": 0.56371
}Semantic roles & 50–950 ramp
primary
#C2CF37
secondary
#37317A
accent
#43E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D