#C2E45F#C2E45F

#C2E45F is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.8% C 0.163 H 121.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#C2E45F
RGBrgb(194, 228, 95)
HSLhsl(75, 71%, 63%)
HSVhsv(75, 58%, 89%)
CMYKcmyk(14.9%, 0%, 58.3%, 10.6%)
CIE-LABlab(85.90, -30.12, 59.83)
CIE-LCHlch(85.90, 66.99, 116.72°)
OKLaboklab(86.81% -0.0864 0.1386)
OKLCHoklch(86.81% 0.163 121.9)
XYZxyz(52.0576, 67.7823, 21.1650)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2E45F #815FE4
analogous
#E4C35F #C2E45F #7FE45F
triadic
#C2E45F #5FC2E4 #E45FC2
tetradic
#C2E45F #5FE4C3 #815FE4 #E45F7F
square
#C2E45F #5FE4C3 #815FE4 #E45F7F
split-complementary
#C2E45F #5F7FE4 #C35FE4
monochromatic
#87AC1D #AEDB2B #C2E45F #D6ED93 #EAF6C8

Accessibility & contrast

On white

1.44
#C2E45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#C2E45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2E45F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2E45F#FFFFFF#000000##000000
##C2E45F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D850
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#CBD9C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c2e45f;
/* rgb */ color: rgb(194, 228, 95);
/* oklch */ color: oklch(86.8% 0.163 121.9);
Tailwind
colors: {
  custom: {
    50: '#d7ec91',
    500: '#c2e45f',
    950: '#000000',
  },
}
SCSS
$custom: #c2e45f;
$custom-light: #d7ec91;
$custom-dark: #000000;
JSON
{
  "hex": "#c2e45f",
  "rgb": {
    "r": 194,
    "g": 228,
    "b": 95
  },
  "hsl": {
    "h": 75.338,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86806,
    "c": 0.16331,
    "h": 121.9
  },
  "luminance": 0.67782
}

Semantic roles & 50–950 ramp

primary
#C2E45F
secondary
#573AAD
accent
#12D344
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C2E45F

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

Preview Lab → · Contrast checker → · Palette generator →

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