#C8F381#C8F381

#C8F381 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.9% C 0.149 H 126.2°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#C8F381
RGBrgb(200, 243, 129)
HSLhsl(83, 83%, 73%)
HSVhsv(83, 47%, 95%)
CMYKcmyk(17.7%, 0%, 46.9%, 4.7%)
CIE-LABlab(90.76, -31.67, 50.19)
CIE-LCHlch(90.76, 59.35, 122.25°)
OKLaboklab(90.94% -0.0882 0.1205)
OKLCHoklch(90.94% 0.149 126.2)
XYZxyz(59.8322, 77.9649, 32.6612)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F381 #AC81F3
analogous
#F3E581 #C8F381 #8FF381
triadic
#C8F381 #81C8F3 #F381C8
tetradic
#C8F381 #81F3E5 #AC81F3 #F3818F
square
#C8F381 #81F3E5 #AC81F3 #F3818F
split-complementary
#C8F381 #818FF3 #E581F3
monochromatic
#96E416 #B0EE49 #C8F381 #E0F8B9 #F3FCE3

Accessibility & contrast

On white

1.27
#C8F381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#C8F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F381
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F381#FFFFFF#000000##000000
##C8F3811.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F7E488
Tritanopia (blue-blind)
#CEEAD8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c8f381;
/* rgb */ color: rgb(200, 243, 129);
/* oklch */ color: oklch(90.9% 0.149 126.2);
Tailwind
colors: {
  custom: {
    50: '#daf7a8',
    500: '#c8f381',
    950: '#000000',
  },
}
SCSS
$custom: #c8f381;
$custom-light: #daf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f381",
  "rgb": {
    "r": 200,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 82.632,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90939,
    "c": 0.14933,
    "h": 126.2
  },
  "luminance": 0.77966
}

Semantic roles & 50–950 ramp

primary
#C8F381
secondary
#7C4ACF
accent
#06DF58
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #C8F381

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

Preview Lab → · Contrast checker → · Palette generator →

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