#C7E766#C7E766

#C7E766 is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 87.9% C 0.159 H 121.4°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#C7E766
RGBrgb(199, 231, 102)
HSLhsl(75, 73%, 65%)
HSVhsv(75, 56%, 91%)
CMYKcmyk(13.9%, 0%, 55.8%, 9.4%)
CIE-LABlab(87.12, -29.03, 58.24)
CIE-LCHlch(87.12, 65.08, 116.49°)
OKLaboklab(87.9% -0.083 0.1359)
OKLCHoklch(87.9% 0.159 121.4)
XYZxyz(54.5279, 70.2533, 23.2554)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E766 #8666E7
analogous
#E7C766 #C7E766 #86E766
triadic
#C7E766 #66C7E7 #E766C7
tetradic
#C7E766 #66E7C7 #8666E7 #E76686
square
#C7E766 #66E7C7 #8666E7 #E76686
split-complementary
#C7E766 #6686E7 #C766E7
monochromatic
#90B61D #B4DF31 #C7E766 #DAEF9B #EEF8D0

Accessibility & contrast

On white

1.40
#C7E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#C7E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E766
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E766#FFFFFF#000000##000000
##C7E7661.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#EFDA6E
Tritanopia (blue-blind)
#D0DCCB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #c7e766;
/* rgb */ color: rgb(199, 231, 102);
/* oklch */ color: oklch(87.9% 0.159 121.4);
Tailwind
colors: {
  custom: {
    50: '#daee96',
    500: '#c7e766',
    950: '#000000',
  },
}
SCSS
$custom: #c7e766;
$custom-light: #daee96;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e766",
  "rgb": {
    "r": 199,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 74.884,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87896,
    "c": 0.1592,
    "h": 121.4
  },
  "luminance": 0.70253
}

Semantic roles & 50–950 ramp

primary
#C7E766
secondary
#5A3BB6
accent
#11D541
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #C7E766

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

Preview Lab → · Contrast checker → · Palette generator →

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