#C8F251#C8F251

#C8F251 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.2% C 0.188 H 122.9°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#C8F251
RGBrgb(200, 242, 81)
HSLhsl(76, 86%, 63%)
HSVhsv(76, 67%, 95%)
CMYKcmyk(17.4%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.03, -35.26, 70.05)
CIE-LCHlch(90.03, 78.42, 116.72°)
OKLaboklab(90.2% -0.1022 0.1583)
OKLCHoklch(90.2% 0.188 122.9)
XYZxyz(57.0574, 76.3775, 19.5194)
Luminance0.7638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F251 #7B51F2
analogous
#F2CB51 #C8F251 #77F251
triadic
#C8F251 #51C8F2 #F251C8
tetradic
#C8F251 #51F2CB #7B51F2 #F25177
square
#C8F251 #51F2CB #7B51F2 #F25177
split-complementary
#C8F251 #5177F2 #CB51F2
monochromatic
#8EBB0E #B6EE18 #C8F251 #DAF68A #ECFBC3

Accessibility & contrast

On white

1.29
#C8F251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#C8F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F251
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F251#FFFFFF#000000##000000
##C8F2511.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE439
Deuteranopia (green-blind)
#FAE25E
Tritanopia (blue-blind)
#D2E6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c8f251;
/* rgb */ color: rgb(200, 242, 81);
/* oklch */ color: oklch(90.2% 0.188 122.9);
Tailwind
colors: {
  custom: {
    50: '#dcf68a',
    500: '#c8f251',
    950: '#000000',
  },
}
SCSS
$custom: #c8f251;
$custom-light: #dcf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f251",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 75.652,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90204,
    "c": 0.18847,
    "h": 122.9
  },
  "luminance": 0.76378
}

Semantic roles & 50–950 ramp

primary
#C8F251
secondary
#522EB9
accent
#03E33D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C8F251

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

Preview Lab → · Contrast checker → · Palette generator →

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