#C8E152#C8E152

#C8E152 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.5% C 0.168 H 118.5°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#C8E152
RGBrgb(200, 225, 82)
HSLhsl(70, 70%, 60%)
HSVhsv(70, 64%, 88%)
CMYKcmyk(11.1%, 0%, 63.6%, 11.8%)
CIE-LABlab(85.37, -27.31, 64.79)
CIE-LCHlch(85.37, 70.31, 112.85°)
OKLaboklab(86.45% -0.0801 0.1474)
OKLCHoklch(86.45% 0.168 118.5)
XYZxyz(52.2686, 66.7394, 18.1095)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E152 #6B52E1
analogous
#E1B352 #C8E152 #80E152
triadic
#C8E152 #52C8E1 #E152C8
tetradic
#C8E152 #52E1B3 #6B52E1 #E15280
square
#C8E152 #52E1B3 #6B52E1 #E15280
split-complementary
#C8E152 #5280E1 #B352E1
monochromatic
#879D1B #B3D124 #C8E152 #D9EA86 #E9F3BA

Accessibility & contrast

On white

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

On black

14.35
#C8E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E152
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E152#FFFFFF#000000##000000
##C8E1521.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#ECD65C
Tritanopia (blue-blind)
#D3D5C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c8e152;
/* rgb */ color: rgb(200, 225, 82);
/* oklch */ color: oklch(86.5% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#dcea89',
    500: '#c8e152',
    950: '#000000',
  },
}
SCSS
$custom: #c8e152;
$custom-light: #dcea89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e152",
  "rgb": {
    "r": 200,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 70.49,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86451,
    "c": 0.16775,
    "h": 118.5
  },
  "luminance": 0.66739
}

Semantic roles & 50–950 ramp

primary
#C8E152
secondary
#4937A1
accent
#13D235
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8E152

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

Preview Lab → · Contrast checker → · Palette generator →

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