#C7EC54#C7EC54

#C7EC54 is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.8% C 0.180 H 121.9°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#C7EC54
RGBrgb(199, 236, 84)
HSLhsl(75, 80%, 63%)
HSVhsv(75, 64%, 93%)
CMYKcmyk(15.7%, 0%, 64.4%, 7.5%)
CIE-LABlab(88.34, -32.70, 67.11)
CIE-LCHlch(88.34, 74.65, 115.98°)
OKLaboklab(88.83% -0.0949 0.1526)
OKLCHoklch(88.83% 0.18 121.9)
XYZxyz(55.1495, 72.7730, 19.5270)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EC54 #7954EC
analogous
#ECC554 #C7EC54 #7BEC54
triadic
#C7EC54 #54C7EC #EC54C7
tetradic
#C7EC54 #54ECC5 #7954EC #EC547B
square
#C7EC54 #54ECC5 #7954EC #EC547B
split-complementary
#C7EC54 #547BEC #C554EC
monochromatic
#8BB214 #B5E61D #C7EC54 #D9F28B #EBF8C2

Accessibility & contrast

On white

1.35
#C7EC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#C7EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EC54
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EC54#FFFFFF#000000##000000
##C7EC541.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE40
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#D1E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c7ec54;
/* rgb */ color: rgb(199, 236, 84);
/* oklch */ color: oklch(88.8% 0.180 121.9);
Tailwind
colors: {
  custom: {
    50: '#dbf28b',
    500: '#c7ec54',
    950: '#000000',
  },
}
SCSS
$custom: #c7ec54;
$custom-light: #dbf28b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ec54",
  "rgb": {
    "r": 199,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 74.605,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88827,
    "c": 0.17966,
    "h": 121.9
  },
  "luminance": 0.72773
}

Semantic roles & 50–950 ramp

primary
#C7EC54
secondary
#5132B2
accent
#09DC3D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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