#C7E54C#C7E54C

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

Color values

HEX#C7E54C
RGBrgb(199, 229, 76)
HSLhsl(72, 75%, 60%)
HSVhsv(72, 67%, 90%)
CMYKcmyk(13.1%, 0%, 66.8%, 10.2%)
CIE-LABlab(86.36, -29.97, 68.13)
CIE-LCHlch(86.36, 74.43, 113.74°)
OKLaboklab(87.21% -0.088 0.1536)
OKLCHoklch(87.21% 0.177 119.8)
XYZxyz(52.8779, 68.7028, 17.3114)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E54C #6A4CE5
analogous
#E5B74C #C7E54C #7AE54C
triadic
#C7E54C #4CC7E5 #E54CC7
tetradic
#C7E54C #4CE5B7 #6A4CE5 #E54C7A
square
#C7E54C #4CE5B7 #6A4CE5 #E54C7A
split-complementary
#C7E54C #4C7AE5 #B74CE5
monochromatic
#859F17 #B1D51F #C7E54C #D8ED81 #E8F5B7

Accessibility & contrast

On white

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

On black

14.74
#C7E54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E54C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E54C#FFFFFF#000000##000000
##C7E54C1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7e54c;
/* rgb */ color: rgb(199, 229, 76);
/* oklch */ color: oklch(87.2% 0.177 119.8);
Tailwind
colors: {
  custom: {
    50: '#dbed86',
    500: '#c7e54c',
    950: '#000000',
  },
}
SCSS
$custom: #c7e54c;
$custom-light: #dbed86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e54c",
  "rgb": {
    "r": 199,
    "g": 229,
    "b": 76
  },
  "hsl": {
    "h": 71.765,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87212,
    "c": 0.17701,
    "h": 119.8
  },
  "luminance": 0.68703
}

Semantic roles & 50–950 ramp

primary
#C7E54C
secondary
#4933A2
accent
#37F15B
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7E54C

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

Preview Lab → · Contrast checker → · Palette generator →

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