#C8E162#C8E162

#C8E162 is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.6% C 0.155 H 119.1°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#C8E162
RGBrgb(200, 225, 98)
HSLhsl(72, 68%, 63%)
HSVhsv(72, 56%, 88%)
CMYKcmyk(11.1%, 0%, 56.4%, 11.8%)
CIE-LABlab(85.51, -26.13, 58.20)
CIE-LCHlch(85.51, 63.79, 114.18°)
OKLaboklab(86.61% -0.0753 0.1354)
OKLCHoklch(86.61% 0.155 119.1)
XYZxyz(52.9499, 67.0119, 21.6981)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E162 #7B62E1
analogous
#E1BA62 #C8E162 #88E162
triadic
#C8E162 #62C8E1 #E162C8
tetradic
#C8E162 #62E1BA #7B62E1 #E16288
square
#C8E162 #62E1BA #7B62E1 #E16288
split-complementary
#C8E162 #6288E1 #BA62E1
monochromatic
#8EA820 #B6D72F #C8E162 #DAEB95 #ECF5C9

Accessibility & contrast

On white

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

On black

14.40
#C8E162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E162
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E162#FFFFFF#000000##000000
##C8E1621.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED655
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#D2D6C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c8e162;
/* rgb */ color: rgb(200, 225, 98);
/* oklch */ color: oklch(86.6% 0.155 119.1);
Tailwind
colors: {
  custom: {
    50: '#dbea93',
    500: '#c8e162',
    950: '#000000',
  },
}
SCSS
$custom: #c8e162;
$custom-light: #dbea93;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e162",
  "rgb": {
    "r": 200,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 71.811,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86606,
    "c": 0.15487,
    "h": 119.1
  },
  "luminance": 0.67012
}

Semantic roles & 50–950 ramp

primary
#C8E162
secondary
#523DAB
accent
#16D03A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C8E162

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

Preview Lab → · Contrast checker → · Palette generator →

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