#C5E172#C5E172

#C5E172 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.6% C 0.141 H 121.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#C5E172
RGBrgb(197, 225, 114)
HSLhsl(75, 65%, 66%)
HSVhsv(75, 49%, 88%)
CMYKcmyk(12.4%, 0%, 49.3%, 11.8%)
CIE-LABlab(85.47, -25.86, 50.80)
CIE-LCHlch(85.47, 57.00, 116.98°)
OKLaboklab(86.58% -0.0729 0.1208)
OKLCHoklch(86.58% 0.141 121.1)
XYZxyz(52.9887, 66.9357, 26.0447)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E172 #8E72E1
analogous
#E1C672 #C5E172 #8EE172
triadic
#C5E172 #72C5E1 #E172C5
tetradic
#C5E172 #72E1C6 #8E72E1 #E1728E
square
#C5E172 #72E1C6 #8E72E1 #E1728E
split-complementary
#C5E172 #728EE1 #C672E1
monochromatic
#8FB326 #B0D640 #C5E172 #DAECA4 #EFF6D7

Accessibility & contrast

On white

1.46
#C5E172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#C5E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E172
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E172#FFFFFF#000000##000000
##C5E1721.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#E9D678
Tritanopia (blue-blind)
#CDD7C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c5e172;
/* rgb */ color: rgb(197, 225, 114);
/* oklch */ color: oklch(86.6% 0.141 121.1);
Tailwind
colors: {
  custom: {
    50: '#d8ea9d',
    500: '#c5e172',
    950: '#000000',
  },
}
SCSS
$custom: #c5e172;
$custom-light: #d8ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e172",
  "rgb": {
    "r": 197,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 75.135,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86578,
    "c": 0.14113,
    "h": 121.1
  },
  "luminance": 0.66936
}

Semantic roles & 50–950 ramp

primary
#C5E172
secondary
#6043B4
accent
#19CD46
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C5E172

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

Preview Lab → · Contrast checker → · Palette generator →

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