#C8F462#C8F462

#C8F462 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.8% C 0.178 H 124.1°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#C8F462
RGBrgb(200, 244, 98)
HSLhsl(78, 87%, 67%)
HSVhsv(78, 60%, 96%)
CMYKcmyk(18%, 0%, 59.8%, 4.3%)
CIE-LABlab(90.72, -34.98, 64.02)
CIE-LCHlch(90.72, 72.95, 118.65°)
OKLaboklab(90.8% -0.1 0.1478)
OKLCHoklch(90.8% 0.178 124.1)
XYZxyz(58.3750, 77.8622, 23.5064)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8F462 #8E62F4
analogous
#F4D762 #C8F462 #7FF462
triadic
#C8F462 #62C8F4 #F462C8
tetradic
#C8F462 #62F4D7 #8E62F4 #F4627F
square
#C8F462 #62F4D7 #8E62F4 #F4627F
split-complementary
#C8F462 #627FF4 #D762F4
monochromatic
#94CD0E #B4F029 #C8F462 #DCF89B #F0FCD4

Accessibility & contrast

On white

1.27
#C8F462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#C8F462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8F462
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8F462#FFFFFF#000000##000000
##C8F4621.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#D0E9D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #c8f462;
/* rgb */ color: rgb(200, 244, 98);
/* oklch */ color: oklch(90.8% 0.178 124.1);
Tailwind
colors: {
  custom: {
    50: '#dcf894',
    500: '#c8f462',
    950: '#000000',
  },
}
SCSS
$custom: #c8f462;
$custom-light: #dcf894;
$custom-dark: #000000;
JSON
{
  "hex": "#c8f462",
  "rgb": {
    "r": 200,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 78.082,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90797,
    "c": 0.17839,
    "h": 124.1
  },
  "luminance": 0.77863
}

Semantic roles & 50–950 ramp

primary
#C8F462
secondary
#5F31C9
accent
#02E346
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C8F462

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

Preview Lab → · Contrast checker → · Palette generator →

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