#C7E451#C7E451

#C7E451 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 87.0% C 0.172 H 119.7°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#C7E451
RGBrgb(199, 228, 81)
HSLhsl(72, 73%, 61%)
HSVhsv(72, 64%, 89%)
CMYKcmyk(12.7%, 0%, 64.5%, 10.6%)
CIE-LABlab(86.12, -29.18, 65.95)
CIE-LCHlch(86.12, 72.12, 113.87°)
OKLaboklab(87.03% -0.0854 0.1497)
OKLCHoklch(87.03% 0.172 119.7)
XYZxyz(52.7826, 68.2232, 18.1707)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E451 #6E51E4
analogous
#E4B851 #C7E451 #7DE451
triadic
#C7E451 #51C7E4 #E451C7
tetradic
#C7E451 #51E4B8 #6E51E4 #E4517D
square
#C7E451 #51E4B8 #6E51E4 #E4517D
split-complementary
#C7E451 #517DE4 #B851E4
monochromatic
#87A219 #B3D721 #C7E451 #D8EC86 #E9F4BB

Accessibility & contrast

On white

1.43
#C7E451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#C7E451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E451
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E451#FFFFFF#000000##000000
##C7E4511.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83D
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#D2D8C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #c7e451;
/* rgb */ color: rgb(199, 228, 81);
/* oklch */ color: oklch(87.0% 0.172 119.7);
Tailwind
colors: {
  custom: {
    50: '#dbec89',
    500: '#c7e451',
    950: '#000000',
  },
}
SCSS
$custom: #c7e451;
$custom-light: #dbec89;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e451",
  "rgb": {
    "r": 199,
    "g": 228,
    "b": 81
  },
  "hsl": {
    "h": 71.837,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87031,
    "c": 0.17234,
    "h": 119.7
  },
  "luminance": 0.68223
}

Semantic roles & 50–950 ramp

primary
#C7E451
secondary
#4B35A4
accent
#10D537
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E451

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

Preview Lab → · Contrast checker → · Palette generator →

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