#C8E251#C8E251

#C8E251 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.7% C 0.170 H 118.8°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#C8E251
RGBrgb(200, 226, 81)
HSLhsl(71, 71%, 60%)
HSVhsv(71, 64%, 89%)
CMYKcmyk(11.5%, 0%, 64.2%, 11.4%)
CIE-LABlab(85.64, -27.85, 65.47)
CIE-LCHlch(85.64, 71.15, 113.04°)
OKLaboklab(86.66% -0.0817 0.1487)
OKLCHoklch(86.66% 0.17 118.8)
XYZxyz(52.5019, 67.2665, 18.0009)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E251 #6B51E2
analogous
#E2B451 #C8E251 #7FE251
triadic
#C8E251 #51C8E2 #E251C8
tetradic
#C8E251 #51E2B4 #6B51E2 #E2517F
square
#C8E251 #51E2B4 #6B51E2 #E2517F
split-complementary
#C8E251 #517FE2 #B451E2
monochromatic
#879E1A #B3D323 #C8E251 #D9EB85 #E9F3BA

Accessibility & contrast

On white

1.45
#C8E251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#C8E251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E251
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E251#FFFFFF#000000##000000
##C8E2511.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#EDD75B
Tritanopia (blue-blind)
#D3D6C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c8e251;
/* rgb */ color: rgb(200, 226, 81);
/* oklch */ color: oklch(86.7% 0.170 118.8);
Tailwind
colors: {
  custom: {
    50: '#dceb89',
    500: '#c8e251',
    950: '#000000',
  },
}
SCSS
$custom: #c8e251;
$custom-light: #dceb89;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e251",
  "rgb": {
    "r": 200,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 70.759,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86663,
    "c": 0.16966,
    "h": 118.8
  },
  "luminance": 0.67266
}

Semantic roles & 50–950 ramp

primary
#C8E251
secondary
#4936A1
accent
#12D335
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8E251

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

Preview Lab → · Contrast checker → · Palette generator →

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