#C2C852#C2C852
#C2C852 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.141 H 111.9°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C852 |
|---|---|
| RGB | rgb(194, 200, 82) |
| HSL | hsl(63, 52%, 55%) |
| HSV | hsv(63, 59%, 78%) |
| CMYK | cmyk(3%, 0%, 59%, 21.6%) |
| CIE-LAB | lab(78.10, -17.58, 56.83) |
| CIE-LCH | lch(78.10, 59.49, 107.19°) |
| OKLab | oklab(80.52% -0.0525 0.1307) |
| OKLCH | oklch(80.52% 0.141 111.9) |
| XYZ | xyz(44.4265, 53.3880, 15.9456) |
| Luminance | 0.5339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 5.08
Greenish Beige
#C9D179
ΔE00 5.08
Bile
#B5C306
ΔE00 5.11
Snot
#ACBB0D
ΔE00 5.77
Green Yellow
#B5CE08
ΔE00 5.88
Puke Yellow
#C2BE0E
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C852 #5852C8
analogous
#C89352 #C2C852 #87C852
triadic
#C2C852 #52C2C8 #C852C2
tetradic
#C2C852 #52C893 #5852C8 #C85287
square
#C2C852 #52C893 #5852C8 #C85287
split-complementary
#C2C852 #5287C8 #9352C8
monochromatic
#757927 #A2A835 #C2C852 #D2D780 #E3E6AF
Accessibility & contrast
On white
1.80
#C2C852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#C2C852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C852
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C852 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#CEBDAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #c2c852; /* rgb */ color: rgb(194, 200, 82); /* oklch */ color: oklch(80.5% 0.141 111.9);
Tailwind
colors: {
custom: {
50: '#d7d887',
500: '#c2c852',
950: '#000000',
},
}SCSS
$custom: #c2c852; $custom-light: #d7d887; $custom-dark: #000000;
JSON
{
"hex": "#c2c852",
"rgb": {
"r": 194,
"g": 200,
"b": 82
},
"hsl": {
"h": 63.051,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.80516,
"c": 0.1408,
"h": 111.9
},
"luminance": 0.53387
}Semantic roles & 50–950 ramp
primary
#C2C852
secondary
#403D82
accent
#4DDB54
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F