#C8E952#C8E952

#C8E952 is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.2% C 0.177 H 120.7°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#C8E952
RGBrgb(200, 233, 82)
HSLhsl(73, 77%, 62%)
HSVhsv(73, 65%, 91%)
CMYKcmyk(14.2%, 0%, 64.8%, 8.6%)
CIE-LABlab(87.57, -31.06, 67.10)
CIE-LCHlch(87.57, 73.94, 114.84°)
OKLaboklab(88.22% -0.0905 0.1523)
OKLCHoklch(88.22% 0.177 120.7)
XYZxyz(54.4821, 71.1665, 18.8473)
Luminance0.7117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E952 #7352E9
analogous
#E9BF52 #C8E952 #7CE952
triadic
#C8E952 #52C8E9 #E952C8
tetradic
#C8E952 #52E9BF #7352E9 #E9527C
square
#C8E952 #52E9BF #7352E9 #E9527C
split-complementary
#C8E952 #527CE9 #BF52E9
monochromatic
#8AAB16 #B6E11D #C8E952 #D9F088 #EBF7BF

Accessibility & contrast

On white

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

On black

15.23
#C8E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E952
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E952#FFFFFF#000000##000000
##C8E9521.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3D
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#D2DDCA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c8e952;
/* rgb */ color: rgb(200, 233, 82);
/* oklch */ color: oklch(88.2% 0.177 120.7);
Tailwind
colors: {
  custom: {
    50: '#dcf08a',
    500: '#c8e952',
    950: '#000000',
  },
}
SCSS
$custom: #c8e952;
$custom-light: #dcf08a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e952",
  "rgb": {
    "r": 200,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 73.113,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88216,
    "c": 0.17715,
    "h": 120.7
  },
  "luminance": 0.71166
}

Semantic roles & 50–950 ramp

primary
#C8E952
secondary
#4E33AC
accent
#0CDA39
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C8E952

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

Preview Lab → · Contrast checker → · Palette generator →

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