#C2C434#C2C434
#C2C434 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.4% C 0.158 H 110.3°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C434 |
|---|---|
| RGB | rgb(194, 196, 52) |
| HSL | hsl(61, 58%, 49%) |
| HSV | hsv(61, 73%, 77%) |
| CMYK | cmyk(1%, 0%, 73.5%, 23.1%) |
| CIE-LAB | lab(76.80, -17.32, 67.17) |
| CIE-LCH | lch(76.80, 69.37, 104.46°) |
| OKLab | oklab(79.41% -0.0547 0.1478) |
| OKLCH | oklch(79.41% 0.158 110.3) |
| XYZ | xyz(42.6094, 51.1983, 10.8859) |
| Luminance | 0.5120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.82
Vomit Yellow
#C7C10C
ΔE00 3.08
Baby Puke Green
#B6C406
ΔE00 3.09
Bile
#B5C306
ΔE00 3.12
Dirty Yellow
#CDC50A
ΔE00 3.69
Snot
#ACBB0D
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C434 #3634C4
analogous
#C47E34 #C2C434 #7AC434
triadic
#C2C434 #34C2C4 #C434C2
tetradic
#C2C434 #34C47E #3634C4 #C4347A
square
#C2C434 #34C47E #3634C4 #C4347A
split-complementary
#C2C434 #347AC4 #7E34C4
monochromatic
#62631A #929427 #C2C434 #D3D560 #E1E291
Accessibility & contrast
On white
1.87
#C2C434 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.24
#C2C434 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C434
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C434 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C434 | 1.00 | 1.87 | 11.24 | 11.24 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB15
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#D0B8A9
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c2c434; /* rgb */ color: rgb(194, 196, 52); /* oklch */ color: oklch(79.4% 0.158 110.3);
Tailwind
colors: {
custom: {
50: '#d8d576',
500: '#c2c434',
950: '#000000',
},
}SCSS
$custom: #c2c434; $custom-light: #d8d576; $custom-dark: #000000;
JSON
{
"hex": "#c2c434",
"rgb": {
"r": 194,
"g": 196,
"b": 52
},
"hsl": {
"h": 60.833,
"s": 58.065,
"l": 48.627
},
"oklch": {
"l": 0.79405,
"c": 0.15764,
"h": 110.3
},
"luminance": 0.51197
}Semantic roles & 50–950 ramp
primary
#C2C434
secondary
#2F2E6E
accent
#47E149
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D