#C7E956#C7E956

#C7E956 is a very light, vivid yellow-green. Relative luminance 0.711; OKLCH L 88.2% C 0.175 H 121.2°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#C7E956
RGBrgb(199, 233, 86)
HSLhsl(74, 77%, 63%)
HSVhsv(74, 63%, 91%)
CMYKcmyk(14.6%, 0%, 63.1%, 8.6%)
CIE-LABlab(87.53, -31.18, 65.46)
CIE-LCHlch(87.53, 72.51, 115.47°)
OKLaboklab(88.18% -0.0905 0.1494)
OKLCHoklch(88.18% 0.175 121.2)
XYZxyz(54.3725, 71.0919, 19.6600)
Luminance0.7109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E956 #7856E9
analogous
#E9C256 #C7E956 #7DE956
triadic
#C7E956 #56C7E9 #E956C7
tetradic
#C7E956 #56E9C2 #7856E9 #E9567D
square
#C7E956 #56E9C2 #7856E9 #E9567D
split-complementary
#C7E956 #567DE9 #C256E9
monochromatic
#8BAE17 #B5E220 #C7E956 #D9F08C #EBF7C2

Accessibility & contrast

On white

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

On black

15.22
#C7E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E956
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E956#FFFFFF#000000##000000
##C7E9561.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC43
Deuteranopia (green-blind)
#F2DC61
Tritanopia (blue-blind)
#D1DECB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c7e956;
/* rgb */ color: rgb(199, 233, 86);
/* oklch */ color: oklch(88.2% 0.175 121.2);
Tailwind
colors: {
  custom: {
    50: '#dbf08c',
    500: '#c7e956',
    950: '#000000',
  },
}
SCSS
$custom: #c7e956;
$custom-light: #dbf08c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e956",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 73.878,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8818,
    "c": 0.17461,
    "h": 121.2
  },
  "luminance": 0.71092
}

Semantic roles & 50–950 ramp

primary
#C7E956
secondary
#5134AF
accent
#0CD93C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7E956

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

Preview Lab → · Contrast checker → · Palette generator →

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