#C8E962#C8E962

#C8E962 is a very light, vivid yellow-green. Relative luminance 0.714; OKLCH L 88.4% C 0.165 H 121.4°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#C8E962
RGBrgb(200, 233, 98)
HSLhsl(75, 75%, 65%)
HSVhsv(75, 58%, 91%)
CMYKcmyk(14.2%, 0%, 57.9%, 8.6%)
CIE-LABlab(87.70, -29.90, 60.66)
CIE-LCHlch(87.70, 67.63, 116.24°)
OKLaboklab(88.37% -0.0858 0.1406)
OKLCHoklch(88.37% 0.165 121.4)
XYZxyz(55.1635, 71.4390, 22.4359)
Luminance0.7144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E962 #8362E9
analogous
#E9C762 #C8E962 #84E962
triadic
#C8E962 #62C8E9 #E962C8
tetradic
#C8E962 #62E9C7 #8362E9 #E96284
square
#C8E962 #62E9C7 #8362E9 #E96284
split-complementary
#C8E962 #6284E9 #C762E9
monochromatic
#91B71A #B5E12C #C8E962 #DBF198 #EEF8CD

Accessibility & contrast

On white

1.37
#C8E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#C8E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E962
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E962#FFFFFF#000000##000000
##C8E9621.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC53
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#D1DECC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c8e962;
/* rgb */ color: rgb(200, 233, 98);
/* oklch */ color: oklch(88.4% 0.165 121.4);
Tailwind
colors: {
  custom: {
    50: '#dbf093',
    500: '#c8e962',
    950: '#000000',
  },
}
SCSS
$custom: #c8e962;
$custom-light: #dbf093;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e962",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 74.667,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88365,
    "c": 0.16474,
    "h": 121.4
  },
  "luminance": 0.71439
}

Semantic roles & 50–950 ramp

primary
#C8E962
secondary
#5738B7
accent
#0ED83F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8E962

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

Preview Lab → · Contrast checker → · Palette generator →

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