#C7E17B#C7E17B

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

Color values

HEX#C7E17B
RGBrgb(199, 225, 123)
HSLhsl(75, 63%, 68%)
HSVhsv(75, 45%, 88%)
CMYKcmyk(11.6%, 0%, 45.3%, 11.8%)
CIE-LABlab(85.72, -24.18, 46.84)
CIE-LCHlch(85.72, 52.71, 117.31°)
OKLaboklab(86.84% -0.0675 0.1127)
OKLCHoklch(86.84% 0.131 120.9)
XYZxyz(54.0537, 67.4227, 28.9013)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E17B #957BE1
analogous
#E1C87B #C7E17B #94E17B
triadic
#C7E17B #7BC7E1 #E17BC7
tetradic
#C7E17B #7BE1C8 #957BE1 #E17B94
square
#C7E17B #7BE1C8 #957BE1 #E17B94
split-complementary
#C7E17B #7B94E1 #C87BE1
monochromatic
#94B82A #B2D649 #C7E17B #DCECAD #F1F8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7E17B#FFFFFF#000000##000000
##C7E17B1.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)
#ECD773
Deuteranopia (green-blind)
#E9D680
Tritanopia (blue-blind)
#CFD8C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #c7e17b;
/* rgb */ color: rgb(199, 225, 123);
/* oklch */ color: oklch(86.8% 0.131 120.9);
Tailwind
colors: {
  custom: {
    50: '#d9eaa3',
    500: '#c7e17b',
    950: '#000000',
  },
}
SCSS
$custom: #c7e17b;
$custom-light: #d9eaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e17b",
  "rgb": {
    "r": 199,
    "g": 225,
    "b": 123
  },
  "hsl": {
    "h": 75.294,
    "s": 62.963,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86844,
    "c": 0.13138,
    "h": 120.9
  },
  "luminance": 0.67423
}

Semantic roles & 50–950 ramp

primary
#C7E17B
secondary
#6548B8
accent
#1BCB48
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #C7E17B

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

Preview Lab → · Contrast checker → · Palette generator →

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