#C2E954#C2E954

#C2E954 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.8% C 0.178 H 122.7°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#C2E954
RGBrgb(194, 233, 84)
HSLhsl(76, 77%, 62%)
HSVhsv(76, 64%, 91%)
CMYKcmyk(16.7%, 0%, 63.9%, 8.6%)
CIE-LABlab(87.19, -33.26, 65.79)
CIE-LCHlch(87.19, 73.72, 116.82°)
OKLaboklab(87.82% -0.0961 0.1499)
OKLCHoklch(87.82% 0.178 122.7)
XYZxyz(52.9878, 70.3871, 19.1803)
Luminance0.7039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E954 #7B54E9
analogous
#E9C654 #C2E954 #77E954
triadic
#C2E954 #54C2E9 #E954C2
tetradic
#C2E954 #54E9C6 #7B54E9 #E95477
square
#C2E954 #54E9C6 #7B54E9 #E95477
split-complementary
#C2E954 #5477E9 #C654E9
monochromatic
#85AC16 #AFE21E #C2E954 #D5F08A #E9F7C0

Accessibility & contrast

On white

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

On black

15.08
#C2E954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E954
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E954#FFFFFF#000000##000000
##C2E9541.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB40
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#CBDECA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c2e954;
/* rgb */ color: rgb(194, 233, 84);
/* oklch */ color: oklch(87.8% 0.178 122.7);
Tailwind
colors: {
  custom: {
    50: '#d8f08b',
    500: '#c2e954',
    950: '#000000',
  },
}
SCSS
$custom: #c2e954;
$custom-light: #d8f08b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e954",
  "rgb": {
    "r": 194,
    "g": 233,
    "b": 84
  },
  "hsl": {
    "h": 75.705,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87815,
    "c": 0.17806,
    "h": 122.7
  },
  "luminance": 0.70387
}

Semantic roles & 50–950 ramp

primary
#C2E954
secondary
#5434AD
accent
#0CD942
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C2E954

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

Preview Lab → · Contrast checker → · Palette generator →

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