#C8E28B#C8E28B

#C8E28B is a very light, moderate yellow-green. Relative luminance 0.685; OKLCH L 87.4% C 0.115 H 122.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#C8E28B
RGBrgb(200, 226, 139)
HSLhsl(78, 60%, 72%)
HSVhsv(78, 38%, 89%)
CMYKcmyk(11.5%, 0%, 38.5%, 11.4%)
CIE-LABlab(86.27, -22.48, 39.70)
CIE-LCHlch(86.27, 45.62, 119.52°)
OKLaboklab(87.38% -0.0617 0.0974)
OKLCHoklch(87.38% 0.115 122.4)
XYZxyz(55.6758, 68.5361, 34.7168)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E28B #A58BE2
analogous
#E2D18B #C8E28B #9DE28B
triadic
#C8E28B #8BC8E2 #E28BC8
tetradic
#C8E28B #8BE2D1 #A58BE2 #E28B9D
square
#C8E28B #8BE2D1 #A58BE2 #E28B9D
split-complementary
#C8E28B #8B9DE2 #D18BE2
monochromatic
#97C231 #B1D65A #C8E28B #DFEEBC #F3F9E7

Accessibility & contrast

On white

1.43
#C8E28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#C8E28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E28B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E28B#FFFFFF#000000##000000
##C8E28B1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD885
Deuteranopia (green-blind)
#E8D88F
Tritanopia (blue-blind)
#CFDACC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c8e28b;
/* rgb */ color: rgb(200, 226, 139);
/* oklch */ color: oklch(87.4% 0.115 122.4);
Tailwind
colors: {
  custom: {
    50: '#daebae',
    500: '#c8e28b',
    950: '#000000',
  },
}
SCSS
$custom: #c8e28b;
$custom-light: #daebae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e28b",
  "rgb": {
    "r": 200,
    "g": 226,
    "b": 139
  },
  "hsl": {
    "h": 77.931,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87378,
    "c": 0.11528,
    "h": 122.4
  },
  "luminance": 0.68536
}

Semantic roles & 50–950 ramp

primary
#C8E28B
secondary
#7557BA
accent
#1EC851
background
#FEFEFD
surface
#FCFDF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #C8E28B

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

Preview Lab → · Contrast checker → · Palette generator →

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