#C8E151#C8E151

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

Color values

HEX#C8E151
RGBrgb(200, 225, 81)
HSLhsl(70, 71%, 60%)
HSVhsv(70, 64%, 88%)
CMYKcmyk(11.1%, 0%, 64%, 11.8%)
CIE-LABlab(85.36, -27.37, 65.18)
CIE-LCHlch(85.36, 70.70, 112.78°)
OKLaboklab(86.44% -0.0804 0.1481)
OKLCHoklch(86.44% 0.168 118.5)
XYZxyz(52.2308, 66.7243, 17.9105)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E151 #6A51E1
analogous
#E1B251 #C8E151 #80E151
triadic
#C8E151 #51C8E1 #E151C8
tetradic
#C8E151 #51E1B2 #6A51E1 #E15180
square
#C8E151 #51E1B2 #6A51E1 #E15180
split-complementary
#C8E151 #5180E1 #B251E1
monochromatic
#869D1B #B3D124 #C8E151 #D8EA85 #E9F3B9

Accessibility & contrast

On white

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

On black

14.34
#C8E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E151
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E151#FFFFFF#000000##000000
##C8E1511.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#D3D5C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c8e151;
/* rgb */ color: rgb(200, 225, 81);
/* oklch */ color: oklch(86.4% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#dcea89',
    500: '#c8e151',
    950: '#000000',
  },
}
SCSS
$custom: #c8e151;
$custom-light: #dcea89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e151",
  "rgb": {
    "r": 200,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 70.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86443,
    "c": 0.16849,
    "h": 118.5
  },
  "luminance": 0.66724
}

Semantic roles & 50–950 ramp

primary
#C8E151
secondary
#4936A0
accent
#3AED5A
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8E151

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

Preview Lab → · Contrast checker → · Palette generator →

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