#C7E951#C7E951

#C7E951 is a very light, vivid yellow-green. Relative luminance 0.710; OKLCH L 88.1% C 0.178 H 121.0°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#C7E951
RGBrgb(199, 233, 81)
HSLhsl(73, 78%, 62%)
HSVhsv(73, 65%, 91%)
CMYKcmyk(14.6%, 0%, 65.2%, 8.6%)
CIE-LABlab(87.49, -31.52, 67.39)
CIE-LCHlch(87.49, 74.40, 115.06°)
OKLaboklab(88.14% -0.0918 0.1528)
OKLCHoklch(88.14% 0.178 121)
XYZxyz(54.1781, 71.0141, 18.6359)
Luminance0.7101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E951 #7351E9
analogous
#E9BF51 #C7E951 #7BE951
triadic
#C7E951 #51C7E9 #E951C7
tetradic
#C7E951 #51E9BF #7351E9 #E9517B
square
#C7E951 #51E9BF #7351E9 #E9517B
split-complementary
#C7E951 #517BE9 #BF51E9
monochromatic
#89AA16 #B5E01C #C7E951 #D8F087 #EAF7BE

Accessibility & contrast

On white

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

On black

15.20
#C7E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E951
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E951#FFFFFF#000000##000000
##C7E9511.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F3DB5C
Tritanopia (blue-blind)
#D1DDCA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #c7e951;
/* rgb */ color: rgb(199, 233, 81);
/* oklch */ color: oklch(88.1% 0.178 121.0);
Tailwind
colors: {
  custom: {
    50: '#dbf089',
    500: '#c7e951',
    950: '#000000',
  },
}
SCSS
$custom: #c7e951;
$custom-light: #dbf089;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e951",
  "rgb": {
    "r": 199,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 73.421,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88137,
    "c": 0.17823,
    "h": 121
  },
  "luminance": 0.71014
}

Semantic roles & 50–950 ramp

primary
#C7E951
secondary
#4E33AB
accent
#0CDA3A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7E951

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

Preview Lab → · Contrast checker → · Palette generator →

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