#C7E970#C7E970

#C7E970 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.5% C 0.153 H 122.6°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#C7E970
RGBrgb(199, 233, 112)
HSLhsl(77, 73%, 68%)
HSVhsv(77, 52%, 91%)
CMYKcmyk(14.6%, 0%, 51.9%, 8.6%)
CIE-LABlab(87.77, -29.08, 54.50)
CIE-LCHlch(87.77, 61.77, 118.08°)
OKLaboklab(88.45% -0.0822 0.1287)
OKLCHoklch(88.45% 0.153 122.6)
XYZxyz(55.6170, 71.5897, 26.2142)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E970 #9270E9
analogous
#E9CF70 #C7E970 #8AE970
triadic
#C7E970 #70C7E9 #E970C7
tetradic
#C7E970 #70E9CF #9270E9 #E9708A
square
#C7E970 #70E9CF #9270E9 #E9708A
split-complementary
#C7E970 #708AE9 #CF70E9
monochromatic
#93C11E #B2E13B #C7E970 #DCF1A5 #F1F9DA

Accessibility & contrast

On white

1.37
#C7E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#C7E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E970
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E970#FFFFFF#000000##000000
##C7E9701.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#F0DC77
Tritanopia (blue-blind)
#CFDFCE
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7e970;
/* rgb */ color: rgb(199, 233, 112);
/* oklch */ color: oklch(88.5% 0.153 122.6);
Tailwind
colors: {
  custom: {
    50: '#daf09c',
    500: '#c7e970',
    950: '#000000',
  },
}
SCSS
$custom: #c7e970;
$custom-light: #daf09c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e970",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 76.86,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88451,
    "c": 0.15273,
    "h": 122.6
  },
  "luminance": 0.7159
}

Semantic roles & 50–950 ramp

primary
#C7E970
secondary
#623EC0
accent
#10D548
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #C7E970

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

Preview Lab → · Contrast checker → · Palette generator →

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