#C8F397#C8F397

#C8F397 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.3% C 0.127 H 129.0°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#C8F397
RGBrgb(200, 243, 151)
HSLhsl(88, 79%, 77%)
HSVhsv(88, 38%, 95%)
CMYKcmyk(17.7%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.06, -29.11, 39.92)
CIE-LCHlch(91.06, 49.40, 126.10°)
OKLaboklab(91.27% -0.0797 0.0983)
OKLCHoklch(91.27% 0.127 129)
XYZxyz(61.4551, 78.6141, 41.2085)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F397 #C297F3
analogous
#F3F097 #C8F397 #9AF397
triadic
#C8F397 #97C8F3 #F397C8
tetradic
#C8F397 #97F3F0 #C297F3 #F3979A
square
#C8F397 #97F3F0 #C297F3 #F3979A
split-complementary
#C8F397 #979AF3 #F097F3
monochromatic
#8EE629 #ABED60 #C8F397 #E5F9CE #F0FCE4

Accessibility & contrast

On white

1.26
#C8F397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#C8F397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F397
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F397#FFFFFF#000000##000000
##C8F3971.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE790
Deuteranopia (green-blind)
#F5E49C
Tritanopia (blue-blind)
#CCEBDC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #c8f397;
/* rgb */ color: rgb(200, 243, 151);
/* oklch */ color: oklch(91.3% 0.127 129.0);
Tailwind
colors: {
  custom: {
    50: '#daf7b6',
    500: '#c8f397',
    950: '#000000',
  },
}
SCSS
$custom: #c8f397;
$custom-light: #daf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f397",
  "rgb": {
    "r": 200,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 88.043,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91273,
    "c": 0.12658,
    "h": 129
  },
  "luminance": 0.78615
}

Semantic roles & 50–950 ramp

primary
#C8F397
secondary
#935DD1
accent
#0ADC6C
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #C8F397

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

Preview Lab → · Contrast checker → · Palette generator →

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