#C2C937#C2C937
#C2C937 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.5% C 0.161 H 112.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C937 |
|---|---|
| RGB | rgb(194, 201, 55) |
| HSL | hsl(63, 57%, 50%) |
| HSV | hsv(63, 73%, 79%) |
| CMYK | cmyk(3.5%, 0%, 72.6%, 21.2%) |
| CIE-LAB | lab(78.18, -19.67, 67.47) |
| CIE-LCH | lch(78.18, 70.28, 106.25°) |
| OKLab | oklab(80.52% -0.061 0.149) |
| OKLCH | oklch(80.52% 0.161 112.3) |
| XYZ | xyz(43.8258, 53.5195, 11.6353) |
| Luminance | 0.5352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.79
Bile
#B5C306
ΔE00 2.92
Green Yellow
#B5CE08
ΔE00 3.94
Puke Yellow
#C2BE0E
ΔE00 4.13
Vomit Yellow
#C7C10C
ΔE00 4.23
Snot
#ACBB0D
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C937 #3E37C9
analogous
#C98737 #C2C937 #79C937
triadic
#C2C937 #37C2C9 #C937C2
tetradic
#C2C937 #37C987 #3E37C9 #C93779
square
#C2C937 #37C987 #3E37C9 #C93779
split-complementary
#C2C937 #3779C9 #8737C9
monochromatic
#66691C #949929 #C2C937 #D1D667 #DFE397
Accessibility & contrast
On white
1.79
#C2C937 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#C2C937 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C937
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C937 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C937 | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C019
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#CFBDAD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #c2c937; /* rgb */ color: rgb(194, 201, 55); /* oklch */ color: oklch(80.5% 0.161 112.3);
Tailwind
colors: {
custom: {
50: '#d8d978',
500: '#c2c937',
950: '#000000',
},
}SCSS
$custom: #c2c937; $custom-light: #d8d978; $custom-dark: #000000;
JSON
{
"hex": "#c2c937",
"rgb": {
"r": 194,
"g": 201,
"b": 55
},
"hsl": {
"h": 62.877,
"s": 57.48,
"l": 50.196
},
"oklch": {
"l": 0.80515,
"c": 0.161,
"h": 112.3
},
"luminance": 0.53518
}Semantic roles & 50–950 ramp
primary
#C2C937
secondary
#343173
accent
#47E14E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D