#C2C757#C2C757
#C2C757 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.4% C 0.135 H 111.4°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C2C757 |
|---|---|
| RGB | rgb(194, 199, 87) |
| HSL | hsl(63, 50%, 56%) |
| HSV | hsv(63, 56%, 78%) |
| CMYK | cmyk(2.5%, 0%, 56.3%, 22%) |
| CIE-LAB | lab(77.88, -16.71, 54.36) |
| CIE-LCH | lch(77.88, 56.87, 107.09°) |
| OKLab | oklab(80.35% -0.0495 0.126) |
| OKLCH | oklch(80.35% 0.135 111.4) |
| XYZ | xyz(44.3929, 53.0053, 16.9075) |
| Luminance | 0.5300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.61
Baby Puke Green
#B6C406
ΔE00 5.71
Bile
#B5C306
ΔE00 5.72
Greenish Tan
#BCCB7A
ΔE00 5.93
Snot
#ACBB0D
ΔE00 6.19
Light Olive
#ACBF69
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2C757 #5C57C7
analogous
#C79457 #C2C757 #8AC757
triadic
#C2C757 #57C2C7 #C757C2
tetradic
#C2C757 #57C794 #5C57C7 #C7578A
square
#C2C757 #57C794 #5C57C7 #C7578A
split-complementary
#C2C757 #578AC7 #9457C7
monochromatic
#777B29 #A4A938 #C2C757 #D3D685 #E3E6B3
Accessibility & contrast
On white
1.81
#C2C757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#C2C757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2C757
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2C757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2C757 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#CEBCAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #c2c757; /* rgb */ color: rgb(194, 199, 87); /* oklch */ color: oklch(80.4% 0.135 111.4);
Tailwind
colors: {
custom: {
50: '#d7d78a',
500: '#c2c757',
950: '#000000',
},
}SCSS
$custom: #c2c757; $custom-light: #d7d78a; $custom-dark: #000000;
JSON
{
"hex": "#c2c757",
"rgb": {
"r": 194,
"g": 199,
"b": 87
},
"hsl": {
"h": 62.679,
"s": 50,
"l": 56.078
},
"oklch": {
"l": 0.80351,
"c": 0.13537,
"h": 111.4
},
"luminance": 0.53004
}Semantic roles & 50–950 ramp
primary
#C2C757
secondary
#423F83
accent
#4EDA55
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F