#C7E862#C7E862

#C7E862 is a very light, vivid yellow-green. Relative luminance 0.707; OKLCH L 88.1% C 0.164 H 121.5°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#C7E862
RGBrgb(199, 232, 98)
HSLhsl(75, 74%, 65%)
HSVhsv(75, 58%, 91%)
CMYKcmyk(14.2%, 0%, 57.8%, 9%)
CIE-LABlab(87.36, -29.82, 60.26)
CIE-LCHlch(87.36, 67.24, 116.33°)
OKLaboklab(88.07% -0.0855 0.1398)
OKLCHoklch(88.07% 0.164 121.5)
XYZxyz(54.6149, 70.7372, 22.3293)
Luminance0.7074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E862 #8362E8
analogous
#E8C662 #C7E862 #84E862
triadic
#C7E862 #62C7E8 #E862C7
tetradic
#C7E862 #62E8C6 #8362E8 #E86284
square
#C7E862 #62E8C6 #8362E8 #E86284
split-complementary
#C7E862 #6284E8 #C662E8
monochromatic
#8FB51B #B4E02D #C7E862 #DAF097 #EDF8CD

Accessibility & contrast

On white

1.39
#C7E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#C7E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E862
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E862#FFFFFF#000000##000000
##C7E8621.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB53
Deuteranopia (green-blind)
#F1DB6B
Tritanopia (blue-blind)
#D0DDCB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c7e862;
/* rgb */ color: rgb(199, 232, 98);
/* oklch */ color: oklch(88.1% 0.164 121.5);
Tailwind
colors: {
  custom: {
    50: '#dbef93',
    500: '#c7e862',
    950: '#000000',
  },
}
SCSS
$custom: #c7e862;
$custom-light: #dbef93;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e862",
  "rgb": {
    "r": 199,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 74.776,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88074,
    "c": 0.16387,
    "h": 121.5
  },
  "luminance": 0.70737
}

Semantic roles & 50–950 ramp

primary
#C7E862
secondary
#5839B5
accent
#0FD740
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7E862

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

Preview Lab → · Contrast checker → · Palette generator →

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