#C7E957#C7E957

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

Color values

HEX#C7E957
RGBrgb(199, 233, 87)
HSLhsl(74, 77%, 63%)
HSVhsv(74, 63%, 91%)
CMYKcmyk(14.6%, 0%, 62.7%, 8.6%)
CIE-LABlab(87.54, -31.11, 65.06)
CIE-LCHlch(87.54, 72.12, 115.56°)
OKLaboklab(88.19% -0.0902 0.1487)
OKLCHoklch(88.19% 0.174 121.2)
XYZxyz(54.4131, 71.1081, 19.8736)
Luminance0.7111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E957 #7957E9
analogous
#E9C257 #C7E957 #7EE957
triadic
#C7E957 #57C7E9 #E957C7
tetradic
#C7E957 #57E9C2 #7957E9 #E9577E
square
#C7E957 #57E9C2 #7957E9 #E9577E
split-complementary
#C7E957 #577EE9 #C257E9
monochromatic
#8BAF17 #B5E221 #C7E957 #D9F08D #EBF7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7E957#FFFFFF#000000##000000
##C7E9571.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)
#F6DC45
Deuteranopia (green-blind)
#F2DC61
Tritanopia (blue-blind)
#D1DECB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c7e957;
/* rgb */ color: rgb(199, 233, 87);
/* oklch */ color: oklch(88.2% 0.174 121.2);
Tailwind
colors: {
  custom: {
    50: '#dbf08d',
    500: '#c7e957',
    950: '#000000',
  },
}
SCSS
$custom: #c7e957;
$custom-light: #dbf08d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e957",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 73.973,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88189,
    "c": 0.17386,
    "h": 121.2
  },
  "luminance": 0.71108
}

Semantic roles & 50–950 ramp

primary
#C7E957
secondary
#5135AF
accent
#0CD93C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7E957

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

Preview Lab → · Contrast checker → · Palette generator →

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