#C2C640#C2C640
#C2C640 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.9% C 0.152 H 111.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C640 |
|---|---|
| RGB | rgb(194, 198, 64) |
| HSL | hsl(62, 54%, 51%) |
| HSV | hsv(62, 68%, 78%) |
| CMYK | cmyk(2%, 0%, 67.7%, 22.4%) |
| CIE-LAB | lab(77.42, -17.73, 63.48) |
| CIE-LCH | lch(77.42, 65.91, 105.60°) |
| OKLab | oklab(79.92% -0.0547 0.1421) |
| OKLCH | oklch(79.92% 0.152 111.1) |
| XYZ | xyz(43.3690, 52.2288, 12.6461) |
| Luminance | 0.5223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.54
Bile
#B5C306
ΔE00 3.58
Puke Yellow
#C2BE0E
ΔE00 4.02
Vomit Yellow
#C7C10C
ΔE00 4.24
Snot
#ACBB0D
ΔE00 4.59
Dirty Yellow
#CDC50A
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C640 #4440C6
analogous
#C68740 #C2C640 #7FC640
triadic
#C2C640 #40C2C6 #C640C2
tetradic
#C2C640 #40C687 #4440C6 #C6407F
square
#C2C640 #40C687 #4440C6 #C6407F
split-complementary
#C2C640 #407FC6 #8740C6
monochromatic
#696C20 #979B2E #C2C640 #D1D46F #E0E29E
Accessibility & contrast
On white
1.83
#C2C640 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#C2C640 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C640
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C640 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C640 | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD2C
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#CFBAAB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #c2c640; /* rgb */ color: rgb(194, 198, 64); /* oklch */ color: oklch(79.9% 0.152 111.1);
Tailwind
colors: {
custom: {
50: '#d8d77d',
500: '#c2c640',
950: '#000000',
},
}SCSS
$custom: #c2c640; $custom-light: #d8d77d; $custom-dark: #000000;
JSON
{
"hex": "#c2c640",
"rgb": {
"r": 194,
"g": 198,
"b": 64
},
"hsl": {
"h": 61.791,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.79922,
"c": 0.15228,
"h": 111.1
},
"luminance": 0.52228
}Semantic roles & 50–950 ramp
primary
#C2C640
secondary
#373575
accent
#4ADD4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D