#C8E742#C8E742

#C8E742 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.7% C 0.185 H 119.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#C8E742
RGBrgb(200, 231, 66)
HSLhsl(71, 77%, 58%)
HSVhsv(71, 71%, 91%)
CMYKcmyk(13.4%, 0%, 71.4%, 9.4%)
CIE-LABlab(86.91, -31.06, 72.29)
CIE-LCHlch(86.91, 78.68, 113.25°)
OKLaboklab(87.66% -0.0919 0.1608)
OKLCHoklch(87.66% 0.185 119.8)
XYZxyz(53.3797, 69.8248, 15.8186)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8E742 #6142E7
analogous
#E7B442 #C8E742 #75E742
triadic
#C8E742 #42C8E7 #E742C8
tetradic
#C8E742 #42E7B4 #6142E7 #E74275
square
#C8E742 #42E7B4 #6142E7 #E74275
split-complementary
#C8E742 #4275E7 #B442E7
monochromatic
#829B14 #AFD11B #C8E742 #D8EE78 #E8F5AF

Accessibility & contrast

On white

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

On black

14.97
#C8E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8E742
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8E742#FFFFFF#000000##000000
##C8E7421.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA23
Deuteranopia (green-blind)
#F2DA50
Tritanopia (blue-blind)
#D3DBC7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c8e742;
/* rgb */ color: rgb(200, 231, 66);
/* oklch */ color: oklch(87.7% 0.185 119.8);
Tailwind
colors: {
  custom: {
    50: '#dcee81',
    500: '#c8e742',
    950: '#000000',
  },
}
SCSS
$custom: #c8e742;
$custom-light: #dcee81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8e742",
  "rgb": {
    "r": 200,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 71.273,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87655,
    "c": 0.18522,
    "h": 119.8
  },
  "luminance": 0.69825
}

Semantic roles & 50–950 ramp

primary
#C8E742
secondary
#442F9E
accent
#34F458
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#15160B
muted
#84857E

Preview Lab

Preview with #C8E742

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

Preview Lab → · Contrast checker → · Palette generator →

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