#C7E370#C7E370

#C7E370 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 87.1% C 0.145 H 120.8°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#C7E370
RGBrgb(199, 227, 112)
HSLhsl(75, 67%, 66%)
HSVhsv(75, 51%, 89%)
CMYKcmyk(12.3%, 0%, 50.7%, 11%)
CIE-LABlab(86.13, -26.24, 52.56)
CIE-LCHlch(86.13, 58.74, 116.53°)
OKLaboklab(87.13% -0.0742 0.1245)
OKLCHoklch(87.13% 0.145 120.8)
XYZxyz(53.9473, 68.2502, 25.6577)
Luminance0.6825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E370 #8C70E3
analogous
#E3C670 #C7E370 #8EE370
triadic
#C7E370 #70C7E3 #E370C7
tetradic
#C7E370 #70E3C6 #8C70E3 #E3708E
square
#C7E370 #70E3C6 #8C70E3 #E3708E
split-complementary
#C7E370 #708EE3 #C670E3
monochromatic
#92B523 #B3D93D #C7E370 #DBEDA3 #EFF7D6

Accessibility & contrast

On white

1.43
#C7E370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#C7E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E370
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E370#FFFFFF#000000##000000
##C7E3701.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#EBD877
Tritanopia (blue-blind)
#D0D9C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c7e370;
/* rgb */ color: rgb(199, 227, 112);
/* oklch */ color: oklch(87.1% 0.145 120.8);
Tailwind
colors: {
  custom: {
    50: '#daeb9c',
    500: '#c7e370',
    950: '#000000',
  },
}
SCSS
$custom: #c7e370;
$custom-light: #daeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e370",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 74.609,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87134,
    "c": 0.14495,
    "h": 120.8
  },
  "luminance": 0.6825
}

Semantic roles & 50–950 ramp

primary
#C7E370
secondary
#5E41B6
accent
#16CF43
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #C7E370

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

Preview Lab → · Contrast checker → · Palette generator →

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