#C7E960#C7E960

#C7E960 is a very light, vivid yellow-green. Relative luminance 0.713; OKLCH L 88.3% C 0.167 H 121.6°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#C7E960
RGBrgb(199, 233, 96)
HSLhsl(75, 76%, 65%)
HSVhsv(75, 59%, 91%)
CMYKcmyk(14.6%, 0%, 58.8%, 8.6%)
CIE-LABlab(87.61, -30.45, 61.40)
CIE-LCHlch(87.61, 68.54, 116.38°)
OKLaboklab(88.27% -0.0875 0.142)
OKLCHoklch(88.27% 0.167 121.6)
XYZxyz(54.8040, 71.2644, 21.9323)
Luminance0.7126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E960 #8260E9
analogous
#E9C760 #C7E960 #82E960
triadic
#C7E960 #60C7E9 #E960C7
tetradic
#C7E960 #60E9C7 #8260E9 #E96082
square
#C7E960 #60E9C7 #8260E9 #E96082
split-complementary
#C7E960 #6082E9 #C760E9
monochromatic
#8FB519 #B4E22A #C7E960 #DAF096 #EDF8CC

Accessibility & contrast

On white

1.38
#C7E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#C7E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E960
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E960#FFFFFF#000000##000000
##C7E9601.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC51
Deuteranopia (green-blind)
#F2DC69
Tritanopia (blue-blind)
#D0DECC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c7e960;
/* rgb */ color: rgb(199, 233, 96);
/* oklch */ color: oklch(88.3% 0.167 121.6);
Tailwind
colors: {
  custom: {
    50: '#dbf092',
    500: '#c7e960',
    950: '#000000',
  },
}
SCSS
$custom: #c7e960;
$custom-light: #dbf092;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e960",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 74.891,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88274,
    "c": 0.16678,
    "h": 121.6
  },
  "luminance": 0.71264
}

Semantic roles & 50–950 ramp

primary
#C7E960
secondary
#5738B5
accent
#0ED840
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7E960

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

Preview Lab → · Contrast checker → · Palette generator →

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