#C7F159#C7F159

#C7F159 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 90.0% C 0.182 H 123.3°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#C7F159
RGBrgb(199, 241, 89)
HSLhsl(77, 84%, 65%)
HSVhsv(77, 63%, 95%)
CMYKcmyk(17.4%, 0%, 63.1%, 5.5%)
CIE-LABlab(89.75, -34.65, 66.63)
CIE-LCHlch(89.75, 75.10, 117.48°)
OKLaboklab(89.98% -0.0998 0.1522)
OKLCHoklch(89.98% 0.182 123.3)
XYZxyz(56.8122, 75.7737, 21.0820)
Luminance0.7577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F159 #8359F1
analogous
#F1CF59 #C7F159 #7BF159
triadic
#C7F159 #59C7F1 #F159C7
tetradic
#C7F159 #59F1CF #8359F1 #F1597B
square
#C7F159 #59F1CF #8359F1 #F1597B
split-complementary
#C7F159 #597BF1 #CF59F1
monochromatic
#8FBF10 #B4EC21 #C7F159 #DAF691 #EDFBCA

Accessibility & contrast

On white

1.30
#C7F159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.15
#C7F159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F159
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F159#FFFFFF#000000##000000
##C7F1591.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE346
Deuteranopia (green-blind)
#F9E164
Tritanopia (blue-blind)
#D0E6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f159;
/* rgb */ color: rgb(199, 241, 89);
/* oklch */ color: oklch(90.0% 0.182 123.3);
Tailwind
colors: {
  custom: {
    50: '#dbf58e',
    500: '#c7f159',
    950: '#000000',
  },
}
SCSS
$custom: #c7f159;
$custom-light: #dbf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f159",
  "rgb": {
    "r": 199,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 76.579,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8998,
    "c": 0.18203,
    "h": 123.3
  },
  "luminance": 0.75774
}

Semantic roles & 50–950 ramp

primary
#C7F159
secondary
#5831BE
accent
#05E141
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F159

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

Preview Lab → · Contrast checker → · Palette generator →

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