#C7E17A#C7E17A

#C7E17A is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.8% C 0.132 H 120.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#C7E17A
RGBrgb(199, 225, 122)
HSLhsl(75, 63%, 68%)
HSVhsv(75, 46%, 88%)
CMYKcmyk(11.6%, 0%, 45.8%, 11.8%)
CIE-LABlab(85.70, -24.29, 47.31)
CIE-LCHlch(85.70, 53.18, 117.18°)
OKLaboklab(86.83% -0.0679 0.1137)
OKLCHoklch(86.83% 0.132 120.9)
XYZxyz(53.9915, 67.3978, 28.5733)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E17A #947AE1
analogous
#E1C87A #C7E17A #93E17A
triadic
#C7E17A #7AC7E1 #E17AC7
tetradic
#C7E17A #7AE1C8 #947AE1 #E17A93
square
#C7E17A #7AE1C8 #947AE1 #E17A93
split-complementary
#C7E17A #7A93E1 #C87AE1
monochromatic
#93B729 #B2D648 #C7E17A #DCECAC #F1F8DE

Accessibility & contrast

On white

1.45
#C7E17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#C7E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E17A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E17A#FFFFFF#000000##000000
##C7E17A1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD771
Deuteranopia (green-blind)
#E9D680
Tritanopia (blue-blind)
#CFD8C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c7e17a;
/* rgb */ color: rgb(199, 225, 122);
/* oklch */ color: oklch(86.8% 0.132 120.9);
Tailwind
colors: {
  custom: {
    50: '#d9eaa2',
    500: '#c7e17a',
    950: '#000000',
  },
}
SCSS
$custom: #c7e17a;
$custom-light: #d9eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e17a",
  "rgb": {
    "r": 199,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 75.146,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8683,
    "c": 0.13241,
    "h": 120.9
  },
  "luminance": 0.67398
}

Semantic roles & 50–950 ramp

primary
#C7E17A
secondary
#6447B8
accent
#1BCB47
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #C7E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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