#C2CF38#C2CF38
#C2CF38 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.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C2CF38 |
|---|---|
| RGB | rgb(194, 207, 56) |
| HSL | hsl(65, 61%, 52%) |
| HSV | hsv(65, 73%, 81%) |
| CMYK | cmyk(6.3%, 0%, 72.9%, 18.8%) |
| CIE-LAB | lab(79.83, -22.57, 68.71) |
| CIE-LCH | lch(79.83, 72.32, 108.18°) |
| OKLab | oklab(81.84% -0.069 0.1518) |
| OKLCH | oklch(81.84% 0.167 114.4) |
| XYZ | xyz(45.2761, 56.3814, 12.2382) |
| Luminance | 0.5638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.90
Baby Puke Green
#B6C406
ΔE00 3.35
Bile
#B5C306
ΔE00 3.54
Sickly Yellow
#D0E429
ΔE00 5.21
Snot
#ACBB0D
ΔE00 5.38
Pea
#A4BF20
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2CF38 #4538CF
analogous
#CF9138 #C2CF38 #76CF38
triadic
#C2CF38 #38C2CF #CF38C2
tetradic
#C2CF38 #38CF91 #4538CF #CF3876
square
#C2CF38 #38CF91 #4538CF #CF3876
split-complementary
#C2CF38 #3876CF #9138CF
monochromatic
#6A711B #98A327 #C2CF38 #D1DB69 #E0E79B
Accessibility & contrast
On white
1.71
#C2CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.28
#C2CF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2CF38
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2CF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2CF38 | 1.00 | 1.71 | 12.28 | 12.28 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC519
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#CFC3B2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #c2cf38; /* rgb */ color: rgb(194, 207, 56); /* oklch */ color: oklch(81.8% 0.167 114.4);
Tailwind
colors: {
custom: {
50: '#d8dd79',
500: '#c2cf38',
950: '#000000',
},
}SCSS
$custom: #c2cf38; $custom-light: #d8dd79; $custom-dark: #000000;
JSON
{
"hex": "#c2cf38",
"rgb": {
"r": 194,
"g": 207,
"b": 56
},
"hsl": {
"h": 65.166,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.81839,
"c": 0.16671,
"h": 114.4
},
"luminance": 0.56381
}Semantic roles & 50–950 ramp
primary
#C2CF38
secondary
#37317A
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D