#C8E157#C8E157

#C8E157 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.5% C 0.164 H 118.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#C8E157
RGBrgb(200, 225, 87)
HSLhsl(71, 70%, 61%)
HSVhsv(71, 61%, 88%)
CMYKcmyk(11.1%, 0%, 61.3%, 11.8%)
CIE-LABlab(85.41, -26.96, 62.80)
CIE-LCHlch(85.41, 68.34, 113.24°)
OKLaboklab(86.5% -0.0787 0.1438)
OKLCHoklch(86.5% 0.164 118.7)
XYZxyz(52.4658, 66.8183, 19.1483)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E157 #7057E1
analogous
#E1B557 #C8E157 #83E157
triadic
#C8E157 #57C8E1 #E157C8
tetradic
#C8E157 #57E1B5 #7057E1 #E15783
square
#C8E157 #57E1B5 #7057E1 #E15783
split-complementary
#C8E157 #5783E1 #B557E1
monochromatic
#89A11D #B5D526 #C8E157 #D9EA8B #EAF4BF

Accessibility & contrast

On white

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

On black

14.36
#C8E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E157
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E157#FFFFFF#000000##000000
##C8E1571.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD546
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#D3D6C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c8e157;
/* rgb */ color: rgb(200, 225, 87);
/* oklch */ color: oklch(86.5% 0.164 118.7);
Tailwind
colors: {
  custom: {
    50: '#dbea8c',
    500: '#c8e157',
    950: '#000000',
  },
}
SCSS
$custom: #c8e157;
$custom-light: #dbea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e157",
  "rgb": {
    "r": 200,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 70.87,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86496,
    "c": 0.16395,
    "h": 118.7
  },
  "luminance": 0.66818
}

Semantic roles & 50–950 ramp

primary
#C8E157
secondary
#4C38A4
accent
#14D236
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8E157

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

Preview Lab → · Contrast checker → · Palette generator →

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