#C2E958#C2E958

#C2E958 is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.8% C 0.175 H 122.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#C2E958
RGBrgb(194, 233, 88)
HSLhsl(76, 77%, 63%)
HSVhsv(76, 62%, 91%)
CMYKcmyk(16.7%, 0%, 62.2%, 8.6%)
CIE-LABlab(87.22, -32.98, 64.22)
CIE-LCHlch(87.22, 72.19, 117.18°)
OKLaboklab(87.85% -0.095 0.1471)
OKLCHoklch(87.85% 0.175 122.9)
XYZxyz(53.1490, 70.4515, 20.0291)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E958 #7F58E9
analogous
#E9C858 #C2E958 #79E958
triadic
#C2E958 #58C2E9 #E958C2
tetradic
#C2E958 #58E9C8 #7F58E9 #E95879
square
#C2E958 #58E9C8 #7F58E9 #E95879
split-complementary
#C2E958 #5879E9 #C858E9
monochromatic
#87AF17 #AEE222 #C2E958 #D6F08E #EAF7C4

Accessibility & contrast

On white

1.39
#C2E958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#C2E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E958
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E958#FFFFFF#000000##000000
##C2E9581.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC46
Deuteranopia (green-blind)
#F1DA62
Tritanopia (blue-blind)
#CBDECB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e958;
/* rgb */ color: rgb(194, 233, 88);
/* oklch */ color: oklch(87.8% 0.175 122.9);
Tailwind
colors: {
  custom: {
    50: '#d7f08d',
    500: '#c2e958',
    950: '#000000',
  },
}
SCSS
$custom: #c2e958;
$custom-light: #d7f08d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e958",
  "rgb": {
    "r": 194,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 76.138,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8785,
    "c": 0.17508,
    "h": 122.9
  },
  "luminance": 0.70452
}

Semantic roles & 50–950 ramp

primary
#C2E958
secondary
#5635B0
accent
#0DD944
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C2E958

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C2E958 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva