#C8E752#C8E752

#C8E752 is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.8% C 0.175 H 120.2°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#C8E752
RGBrgb(200, 231, 82)
HSLhsl(72, 76%, 61%)
HSVhsv(72, 65%, 91%)
CMYKcmyk(13.4%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.02, -30.13, 66.52)
CIE-LCHlch(87.02, 73.03, 114.37°)
OKLaboklab(87.77% -0.0879 0.151)
OKLCHoklch(87.77% 0.175 120.2)
XYZxyz(53.9191, 70.0406, 18.6597)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E752 #7152E7
analogous
#E7BC52 #C8E752 #7EE752
triadic
#C8E752 #52C8E7 #E752C8
tetradic
#C8E752 #52E7BC #7152E7 #E7527E
square
#C8E752 #52E7BC #7152E7 #E7527E
split-complementary
#C8E752 #527EE7 #BC52E7
monochromatic
#89A717 #B6DD1F #C8E752 #D9EE88 #EAF6BD

Accessibility & contrast

On white

1.40
#C8E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#C8E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E752
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E752#FFFFFF#000000##000000
##C8E7521.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3E
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#D3DBC9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c8e752;
/* rgb */ color: rgb(200, 231, 82);
/* oklch */ color: oklch(87.8% 0.175 120.2);
Tailwind
colors: {
  custom: {
    50: '#dcee8a',
    500: '#c8e752',
    950: '#000000',
  },
}
SCSS
$custom: #c8e752;
$custom-light: #dcee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e752",
  "rgb": {
    "r": 200,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 72.483,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87774,
    "c": 0.17478,
    "h": 120.2
  },
  "luminance": 0.7004
}

Semantic roles & 50–950 ramp

primary
#C8E752
secondary
#4C34A9
accent
#0ED838
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C8E752

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

Preview Lab → · Contrast checker → · Palette generator →

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