#C8E762#C8E762

#C8E762 is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 87.9% C 0.162 H 120.9°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#C8E762
RGBrgb(200, 231, 98)
HSLhsl(74, 73%, 65%)
HSVhsv(74, 58%, 91%)
CMYKcmyk(13.4%, 0%, 57.6%, 9.4%)
CIE-LABlab(87.15, -28.97, 60.05)
CIE-LCHlch(87.15, 66.67, 115.75°)
OKLaboklab(87.92% -0.0832 0.1393)
OKLCHoklch(87.92% 0.162 120.9)
XYZxyz(54.6005, 70.3131, 22.2483)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E762 #8162E7
analogous
#E7C462 #C8E762 #86E762
triadic
#C8E762 #62C8E7 #E762C8
tetradic
#C8E762 #62E7C4 #8162E7 #E76286
square
#C8E762 #62E7C4 #8162E7 #E76286
split-complementary
#C8E762 #6286E7 #C462E7
monochromatic
#90B31B #B5DF2D #C8E762 #DBEF97 #EDF7CC

Accessibility & contrast

On white

1.39
#C8E762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#C8E762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E762
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E762#FFFFFF#000000##000000
##C8E7621.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F0DB6B
Tritanopia (blue-blind)
#D2DCCA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c8e762;
/* rgb */ color: rgb(200, 231, 98);
/* oklch */ color: oklch(87.9% 0.162 120.9);
Tailwind
colors: {
  custom: {
    50: '#dbee93',
    500: '#c8e762',
    950: '#000000',
  },
}
SCSS
$custom: #c8e762;
$custom-light: #dbee93;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e762",
  "rgb": {
    "r": 200,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 73.985,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87924,
    "c": 0.16227,
    "h": 120.9
  },
  "luminance": 0.70313
}

Semantic roles & 50–950 ramp

primary
#C8E762
secondary
#563AB4
accent
#10D63E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C8E762

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

Preview Lab → · Contrast checker → · Palette generator →

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