#C8F162#C8F162

#C8F162 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.1% C 0.175 H 123.4°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#C8F162
RGBrgb(200, 241, 98)
HSLhsl(77, 84%, 66%)
HSVhsv(77, 59%, 95%)
CMYKcmyk(17%, 0%, 59.3%, 5.5%)
CIE-LABlab(89.89, -33.61, 63.10)
CIE-LCHlch(89.89, 71.50, 118.04°)
OKLaboklab(90.13% -0.0962 0.1458)
OKLCHoklch(90.13% 0.175 123.4)
XYZxyz(57.4797, 76.0715, 23.2080)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F162 #8B62F1
analogous
#F1D362 #C8F162 #81F162
triadic
#C8F162 #62C8F1 #F162C8
tetradic
#C8F162 #62F1D3 #8B62F1 #F16281
square
#C8F162 #62F1D3 #8B62F1 #F16281
split-complementary
#C8F162 #6281F1 #D362F1
monochromatic
#93C712 #B4EC2A #C8F162 #DCF69A #EFFBD2

Accessibility & contrast

On white

1.30
#C8F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#C8F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F162
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F162#FFFFFF#000000##000000
##C8F1621.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#F8E26C
Tritanopia (blue-blind)
#D1E6D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c8f162;
/* rgb */ color: rgb(200, 241, 98);
/* oklch */ color: oklch(90.1% 0.175 123.4);
Tailwind
colors: {
  custom: {
    50: '#dbf594',
    500: '#c8f162',
    950: '#000000',
  },
}
SCSS
$custom: #c8f162;
$custom-light: #dbf594;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f162",
  "rgb": {
    "r": 200,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 77.203,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90132,
    "c": 0.17467,
    "h": 123.4
  },
  "luminance": 0.76072
}

Semantic roles & 50–950 ramp

primary
#C8F162
secondary
#5D33C4
accent
#05E044
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C8F162

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

Preview Lab → · Contrast checker → · Palette generator →

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