#C8F57B#C8F57B

#C8F57B is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.3% C 0.158 H 126.1°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#C8F57B
RGBrgb(200, 245, 123)
HSLhsl(82, 86%, 72%)
HSVhsv(82, 50%, 96%)
CMYKcmyk(18.4%, 0%, 49.8%, 3.9%)
CIE-LABlab(91.24, -33.21, 53.58)
CIE-LCHlch(91.24, 63.04, 121.80°)
OKLaboklab(91.3% -0.0929 0.1276)
OKLCHoklch(91.3% 0.158 126.1)
XYZxyz(60.0468, 79.0136, 30.8227)
Luminance0.7901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F57B #A87BF5
analogous
#F5E57B #C8F57B #8BF57B
triadic
#C8F57B #7BC8F5 #F57BC8
tetradic
#C8F57B #7BF5E5 #A87BF5 #F57B8B
square
#C8F57B #7BF5E5 #A87BF5 #F57B8B
split-complementary
#C8F57B #7B8BF5 #E57BF5
monochromatic
#96E411 #B0F142 #C8F57B #E0F9B4 #F3FDE3

Accessibility & contrast

On white

1.25
#C8F57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#C8F57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F57B
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F57B#FFFFFF#000000##000000
##C8F57B1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#FAE582
Tritanopia (blue-blind)
#CEEBD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #c8f57b;
/* rgb */ color: rgb(200, 245, 123);
/* oklch */ color: oklch(91.3% 0.158 126.1);
Tailwind
colors: {
  custom: {
    50: '#dbf8a4',
    500: '#c8f57b',
    950: '#000000',
  },
}
SCSS
$custom: #c8f57b;
$custom-light: #dbf8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f57b",
  "rgb": {
    "r": 200,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 82.131,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.913,
    "c": 0.15784,
    "h": 126.1
  },
  "luminance": 0.79014
}

Semantic roles & 50–950 ramp

primary
#C8F57B
secondary
#7844D0
accent
#03E255
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C8F57B

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

Preview Lab → · Contrast checker → · Palette generator →

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