#C7E97A#C7E97A

#C7E97A is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.6% C 0.143 H 123.3°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#C7E97A
RGBrgb(199, 233, 122)
HSLhsl(78, 72%, 70%)
HSVhsv(78, 48%, 91%)
CMYKcmyk(14.6%, 0%, 47.6%, 8.6%)
CIE-LABlab(87.88, -28.10, 49.97)
CIE-LCHlch(87.88, 57.33, 119.35°)
OKLaboklab(88.58% -0.0786 0.1196)
OKLCHoklch(88.58% 0.143 123.3)
XYZxyz(56.2050, 71.8249, 29.3111)
Luminance0.7183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E97A #9C7AE9
analogous
#E9D37A #C7E97A #90E97A
triadic
#C7E97A #7AC7E9 #E97AC7
tetradic
#C7E97A #7AE9D3 #9C7AE9 #E97A90
square
#C7E97A #7AE9D3 #9C7AE9 #E97A90
split-complementary
#C7E97A #7A90E9 #D37AE9
monochromatic
#95C821 #B1E045 #C7E97A #DDF2AF #F3FAE3

Accessibility & contrast

On white

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

On black

15.37
#C7E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E97A
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E97A#FFFFFF#000000##000000
##C7E97A1.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#CEE0CF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7e97a;
/* rgb */ color: rgb(199, 233, 122);
/* oklch */ color: oklch(88.6% 0.143 123.3);
Tailwind
colors: {
  custom: {
    50: '#daf0a3',
    500: '#c7e97a',
    950: '#000000',
  },
}
SCSS
$custom: #c7e97a;
$custom-light: #daf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e97a",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 78.378,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88579,
    "c": 0.14312,
    "h": 123.3
  },
  "luminance": 0.71825
}

Semantic roles & 50–950 ramp

primary
#C7E97A
secondary
#6C46C1
accent
#12D44D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #C7E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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