#C8E958#C8E958

#C8E958 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.3% C 0.173 H 121.0°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#C8E958
RGBrgb(200, 233, 88)
HSLhsl(74, 77%, 63%)
HSVhsv(74, 62%, 91%)
CMYKcmyk(14.2%, 0%, 62.2%, 8.6%)
CIE-LABlab(87.61, -30.65, 64.76)
CIE-LCHlch(87.61, 71.65, 115.33°)
OKLaboklab(88.27% -0.0889 0.1481)
OKLCHoklch(88.27% 0.173 121)
XYZxyz(54.7205, 71.2618, 20.1028)
Luminance0.7126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E958 #7958E9
analogous
#E9C158 #C8E958 #7FE958
triadic
#C8E958 #58C8E9 #E958C8
tetradic
#C8E958 #58E9C1 #7958E9 #E9587F
square
#C8E958 #58E9C1 #7958E9 #E9587F
split-complementary
#C8E958 #587FE9 #C158E9
monochromatic
#8DAF17 #B6E222 #C8E958 #DAF08E #ECF7C4

Accessibility & contrast

On white

1.38
#C8E958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#C8E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E958
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E958#FFFFFF#000000##000000
##C8E9581.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC46
Deuteranopia (green-blind)
#F2DC62
Tritanopia (blue-blind)
#D2DECB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c8e958;
/* rgb */ color: rgb(200, 233, 88);
/* oklch */ color: oklch(88.3% 0.173 121.0);
Tailwind
colors: {
  custom: {
    50: '#dcf08d',
    500: '#c8e958',
    950: '#000000',
  },
}
SCSS
$custom: #c8e958;
$custom-light: #dcf08d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e958",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 73.655,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88268,
    "c": 0.17272,
    "h": 121
  },
  "luminance": 0.71262
}

Semantic roles & 50–950 ramp

primary
#C8E958
secondary
#5135B0
accent
#0DD93B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8E958

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

Preview Lab → · Contrast checker → · Palette generator →

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