#C2C74F#C2C74F
#C2C74F is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.142 H 111.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C74F |
|---|---|
| RGB | rgb(194, 199, 79) |
| HSL | hsl(63, 52%, 55%) |
| HSV | hsv(63, 60%, 78%) |
| CMYK | cmyk(2.5%, 0%, 60.3%, 22%) |
| CIE-LAB | lab(77.81, -17.30, 57.80) |
| CIE-LCH | lch(77.81, 60.33, 106.66°) |
| OKLab | oklab(80.27% -0.052 0.1323) |
| OKLCH | oklch(80.27% 0.142 111.4) |
| XYZ | xyz(44.0840, 52.8817, 15.2806) |
| Luminance | 0.5288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.81
Bile
#B5C306
ΔE00 4.84
Greenish Beige
#C9D179
ΔE00 5.47
Puke Yellow
#C2BE0E
ΔE00 5.47
Snot
#ACBB0D
ΔE00 5.50
Vomit Yellow
#C7C10C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C74F #544FC7
analogous
#C7904F #C2C74F #86C74F
triadic
#C2C74F #4FC2C7 #C74FC2
tetradic
#C2C74F #4FC790 #544FC7 #C74F86
square
#C2C74F #4FC790 #544FC7 #C74F86
split-complementary
#C2C74F #4F86C7 #904FC7
monochromatic
#737626 #A0A434 #C2C74F #D2D67D #E2E5AC
Accessibility & contrast
On white
1.81
#C2C74F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.58
#C2C74F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C74F
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C74F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C74F | 1.00 | 1.81 | 11.58 | 11.58 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#CEBCAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c2c74f; /* rgb */ color: rgb(194, 199, 79); /* oklch */ color: oklch(80.3% 0.142 111.4);
Tailwind
colors: {
custom: {
50: '#d7d785',
500: '#c2c74f',
950: '#000000',
},
}SCSS
$custom: #c2c74f; $custom-light: #d7d785; $custom-dark: #000000;
JSON
{
"hex": "#c2c74f",
"rgb": {
"r": 194,
"g": 199,
"b": 79
},
"hsl": {
"h": 62.5,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.80269,
"c": 0.14217,
"h": 111.4
},
"luminance": 0.52881
}Semantic roles & 50–950 ramp
primary
#C2C74F
secondary
#3E3B7F
accent
#4DDB53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E