#C7EC5F#C7EC5F

#C7EC5F is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 88.9% C 0.171 H 122.4°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#C7EC5F
RGBrgb(199, 236, 95)
HSLhsl(76, 79%, 65%)
HSVhsv(76, 60%, 93%)
CMYKcmyk(15.7%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.43, -31.92, 62.73)
CIE-LCHlch(88.43, 70.38, 116.97°)
OKLaboklab(88.93% -0.0917 0.1447)
OKLCHoklch(88.93% 0.171 122.4)
XYZxyz(55.6147, 72.9591, 21.9769)
Luminance0.7296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EC5F #845FEC
analogous
#ECCB5F #C7EC5F #80EC5F
triadic
#C7EC5F #5FC7EC #EC5FC7
tetradic
#C7EC5F #5FECCB #845FEC #EC5F80
square
#C7EC5F #5FECCB #845FEC #EC5F80
split-complementary
#C7EC5F #5F80EC #CB5FEC
monochromatic
#8FBA16 #B4E628 #C7EC5F #DAF296 #EDF9CC

Accessibility & contrast

On white

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

On black

15.59
#C7EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EC5F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EC5F#FFFFFF#000000##000000
##C7EC5F1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ec5f;
/* rgb */ color: rgb(199, 236, 95);
/* oklch */ color: oklch(88.9% 0.171 122.4);
Tailwind
colors: {
  custom: {
    50: '#dbf292',
    500: '#c7ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ec5f;
$custom-light: #dbf292;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ec5f",
  "rgb": {
    "r": 199,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 75.745,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88927,
    "c": 0.17129,
    "h": 122.4
  },
  "luminance": 0.72959
}

Semantic roles & 50–950 ramp

primary
#C7EC5F
secondary
#5836BA
accent
#0ADB41
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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