#C8F28A#C8F28A

#C8F28A is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.139 H 127.0°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#C8F28A
RGBrgb(200, 242, 138)
HSLhsl(84, 80%, 75%)
HSVhsv(84, 43%, 95%)
CMYKcmyk(17.4%, 0%, 43%, 5.1%)
CIE-LABlab(90.61, -30.21, 45.70)
CIE-LCHlch(90.61, 54.78, 123.47°)
OKLaboklab(90.85% -0.0835 0.111)
OKLCHoklch(90.85% 0.139 127)
XYZxyz(60.1585, 77.6179, 35.8522)
Luminance0.7762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F28A #B48AF2
analogous
#F2E88A #C8F28A #94F28A
triadic
#C8F28A #8AC8F2 #F28AC8
tetradic
#C8F28A #8AF2E8 #B48AF2 #F28A94
square
#C8F28A #8AF2E8 #B48AF2 #F28A94
split-complementary
#C8F28A #8A94F2 #E88AF2
monochromatic
#94E61C #AEEC53 #C8F28A #E2F8C1 #F2FCE3

Accessibility & contrast

On white

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

On black

16.52
#C8F28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F28A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F28A#FFFFFF#000000##000000
##C8F28A1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE682
Deuteranopia (green-blind)
#F6E390
Tritanopia (blue-blind)
#CDE9D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c8f28a;
/* rgb */ color: rgb(200, 242, 138);
/* oklch */ color: oklch(90.8% 0.139 127.0);
Tailwind
colors: {
  custom: {
    50: '#daf6ae',
    500: '#c8f28a',
    950: '#000000',
  },
}
SCSS
$custom: #c8f28a;
$custom-light: #daf6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f28a",
  "rgb": {
    "r": 200,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 84.231,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90848,
    "c": 0.13887,
    "h": 127
  },
  "luminance": 0.77619
}

Semantic roles & 50–950 ramp

primary
#C8F28A
secondary
#8452CE
accent
#09DC5E
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #C8F28A

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

Preview Lab → · Contrast checker → · Palette generator →

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