#C7EC52#C7EC52

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

Color values

HEX#C7EC52
RGBrgb(199, 236, 82)
HSLhsl(74, 80%, 62%)
HSVhsv(74, 65%, 93%)
CMYKcmyk(15.7%, 0%, 65.3%, 7.5%)
CIE-LABlab(88.32, -32.84, 67.87)
CIE-LCHlch(88.32, 75.40, 115.82°)
OKLaboklab(88.81% -0.0954 0.1539)
OKLCHoklch(88.81% 0.181 121.8)
XYZxyz(55.0723, 72.7422, 19.1203)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EC52 #7752EC
analogous
#ECC452 #C7EC52 #7AEC52
triadic
#C7EC52 #52C7EC #EC52C7
tetradic
#C7EC52 #52ECC4 #7752EC #EC527A
square
#C7EC52 #52ECC4 #7752EC #EC527A
split-complementary
#C7EC52 #527AEC #C452EC
monochromatic
#8BB013 #B5E61B #C7EC52 #D9F289 #EBF8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7EC52#FFFFFF#000000##000000
##C7EC521.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)
#FADE3D
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#D1E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c7ec52;
/* rgb */ color: rgb(199, 236, 82);
/* oklch */ color: oklch(88.8% 0.181 121.8);
Tailwind
colors: {
  custom: {
    50: '#dbf28a',
    500: '#c7ec52',
    950: '#000000',
  },
}
SCSS
$custom: #c7ec52;
$custom-light: #dbf28a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ec52",
  "rgb": {
    "r": 199,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 74.416,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88811,
    "c": 0.18108,
    "h": 121.8
  },
  "luminance": 0.72742
}

Semantic roles & 50–950 ramp

primary
#C7EC52
secondary
#5032B1
accent
#09DD3C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160C
muted
#84857F

Preview Lab

Preview with #C7EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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