#C7EC5C#C7EC5C

#C7EC5C is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 88.9% C 0.174 H 122.2°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#C7EC5C
RGBrgb(199, 236, 92)
HSLhsl(75, 79%, 64%)
HSVhsv(75, 61%, 93%)
CMYKcmyk(15.7%, 0%, 61%, 7.5%)
CIE-LABlab(88.40, -32.14, 63.95)
CIE-LCHlch(88.40, 71.58, 116.68°)
OKLaboklab(88.9% -0.0926 0.1469)
OKLCHoklch(88.9% 0.174 122.2)
XYZxyz(55.4810, 72.9056, 21.2725)
Luminance0.7291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EC5C #815CEC
analogous
#ECC95C #C7EC5C #7FEC5C
triadic
#C7EC5C #5CC7EC #EC5CC7
tetradic
#C7EC5C #5CECC9 #815CEC #EC5C7F
square
#C7EC5C #5CECC9 #815CEC #EC5C7F
split-complementary
#C7EC5C #5C7FEC #C95CEC
monochromatic
#8EB815 #B4E625 #C7EC5C #DAF293 #EDF9CA

Accessibility & contrast

On white

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

On black

15.58
#C7EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EC5C
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EC5C#FFFFFF#000000##000000
##C7EC5C1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4B
Deuteranopia (green-blind)
#F4DE66
Tritanopia (blue-blind)
#D0E1CE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c7ec5c;
/* rgb */ color: rgb(199, 236, 92);
/* oklch */ color: oklch(88.9% 0.174 122.2);
Tailwind
colors: {
  custom: {
    50: '#dbf290',
    500: '#c7ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #c7ec5c;
$custom-light: #dbf290;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ec5c",
  "rgb": {
    "r": 199,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 75.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88899,
    "c": 0.17366,
    "h": 122.2
  },
  "luminance": 0.72906
}

Semantic roles & 50–950 ramp

primary
#C7EC5C
secondary
#5635B8
accent
#0ADB40
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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