#C8F262#C8F262

#C8F262 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.4% C 0.176 H 123.6°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#C8F262
RGBrgb(200, 242, 98)
HSLhsl(78, 85%, 67%)
HSVhsv(78, 60%, 95%)
CMYKcmyk(17.4%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.17, -34.06, 63.41)
CIE-LCHlch(90.17, 71.98, 118.25°)
OKLaboklab(90.35% -0.0974 0.1465)
OKLCHoklch(90.35% 0.176 123.6)
XYZxyz(57.7765, 76.6651, 23.3069)
Luminance0.7667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F262 #8C62F2
analogous
#F2D462 #C8F262 #80F262
triadic
#C8F262 #62C8F2 #F262C8
tetradic
#C8F262 #62F2D4 #8C62F2 #F26280
square
#C8F262 #62F2D4 #8C62F2 #F26280
split-complementary
#C8F262 #6280F2 #D462F2
monochromatic
#93C911 #B4ED29 #C8F262 #DCF79B #F0FBD3

Accessibility & contrast

On white

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

On black

16.33
#C8F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F262
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F262#FFFFFF#000000##000000
##C8F2621.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#D1E7D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c8f262;
/* rgb */ color: rgb(200, 242, 98);
/* oklch */ color: oklch(90.4% 0.176 123.6);
Tailwind
colors: {
  custom: {
    50: '#dcf694',
    500: '#c8f262',
    950: '#000000',
  },
}
SCSS
$custom: #c8f262;
$custom-light: #dcf694;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f262",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 77.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90354,
    "c": 0.17591,
    "h": 123.6
  },
  "luminance": 0.76665
}

Semantic roles & 50–950 ramp

primary
#C8F262
secondary
#5D33C6
accent
#04E145
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C8F262

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

Preview Lab → · Contrast checker → · Palette generator →

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