#C7E54E#C7E54E

#C7E54E is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 87.2% C 0.176 H 119.9°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#C7E54E
RGBrgb(199, 229, 78)
HSLhsl(72, 74%, 60%)
HSVhsv(72, 66%, 90%)
CMYKcmyk(13.1%, 0%, 65.9%, 10.2%)
CIE-LABlab(86.37, -29.84, 67.38)
CIE-LCHlch(86.37, 73.70, 113.89°)
OKLaboklab(87.23% -0.0875 0.1523)
OKLCHoklch(87.23% 0.176 119.9)
XYZxyz(52.9485, 68.7310, 17.6833)
Luminance0.6873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E54E #6C4EE5
analogous
#E5B84E #C7E54E #7BE54E
triadic
#C7E54E #4EC7E5 #E54EC7
tetradic
#C7E54E #4EE5B8 #6C4EE5 #E54E7B
square
#C7E54E #4EE5B8 #6C4EE5 #E54E7B
split-complementary
#C7E54E #4E7BE5 #B84EE5
monochromatic
#86A118 #B2D61F #C7E54E #D8ED83 #E9F5B9

Accessibility & contrast

On white

1.42
#C7E54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#C7E54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E54E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E54E#FFFFFF#000000##000000
##C7E54E1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D839
Deuteranopia (green-blind)
#EFD959
Tritanopia (blue-blind)
#D2D9C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c7e54e;
/* rgb */ color: rgb(199, 229, 78);
/* oklch */ color: oklch(87.2% 0.176 119.9);
Tailwind
colors: {
  custom: {
    50: '#dbed87',
    500: '#c7e54e',
    950: '#000000',
  },
}
SCSS
$custom: #c7e54e;
$custom-light: #dbed87;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e54e",
  "rgb": {
    "r": 199,
    "g": 229,
    "b": 78
  },
  "hsl": {
    "h": 71.921,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87227,
    "c": 0.17564,
    "h": 119.9
  },
  "luminance": 0.68731
}

Semantic roles & 50–950 ramp

primary
#C7E54E
secondary
#4A34A4
accent
#0FD737
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E54E

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

Preview Lab → · Contrast checker → · Palette generator →

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