#C7E351#C7E351

#C7E351 is a very light, vivid yellow-green. Relative luminance 0.677; OKLCH L 86.8% C 0.171 H 119.4°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#C7E351
RGBrgb(199, 227, 81)
HSLhsl(72, 72%, 60%)
HSVhsv(72, 64%, 89%)
CMYKcmyk(12.3%, 0%, 64.3%, 11%)
CIE-LABlab(85.84, -28.71, 65.67)
CIE-LCHlch(85.84, 71.67, 113.62°)
OKLaboklab(86.81% -0.084 0.1491)
OKLCHoklch(86.81% 0.171 119.4)
XYZxyz(52.5083, 67.6747, 18.0793)
Luminance0.6767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E351 #6D51E3
analogous
#E3B651 #C7E351 #7EE351
triadic
#C7E351 #51C7E3 #E351C7
tetradic
#C7E351 #51E3B6 #6D51E3 #E3517E
square
#C7E351 #51E3B6 #6D51E3 #E3517E
split-complementary
#C7E351 #517EE3 #B651E3
monochromatic
#86A01A #B2D522 #C7E351 #D8EB86 #E9F4BA

Accessibility & contrast

On white

1.44
#C7E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#C7E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E351
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E351#FFFFFF#000000##000000
##C7E3511.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73D
Deuteranopia (green-blind)
#EED75C
Tritanopia (blue-blind)
#D2D7C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c7e351;
/* rgb */ color: rgb(199, 227, 81);
/* oklch */ color: oklch(86.8% 0.171 119.4);
Tailwind
colors: {
  custom: {
    50: '#dbeb89',
    500: '#c7e351',
    950: '#000000',
  },
}
SCSS
$custom: #c7e351;
$custom-light: #dbeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e351",
  "rgb": {
    "r": 199,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 71.507,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8681,
    "c": 0.17118,
    "h": 119.4
  },
  "luminance": 0.67674
}

Semantic roles & 50–950 ramp

primary
#C7E351
secondary
#4A35A3
accent
#11D437
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E351

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

Preview Lab → · Contrast checker → · Palette generator →

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