#C7F259#C7F259

#C7F259 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.2% C 0.183 H 123.5°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#C7F259
RGBrgb(199, 242, 89)
HSLhsl(77, 85%, 65%)
HSVhsv(77, 63%, 95%)
CMYKcmyk(17.8%, 0%, 63.2%, 5.1%)
CIE-LABlab(90.03, -35.11, 66.93)
CIE-LCHlch(90.03, 75.58, 117.68°)
OKLaboklab(90.2% -0.1011 0.1528)
OKLCHoklch(90.2% 0.183 123.5)
XYZxyz(57.1090, 76.3673, 21.1810)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F259 #8459F2
analogous
#F2D159 #C7F259 #7AF259
triadic
#C7F259 #59C7F2 #F259C7
tetradic
#C7F259 #59F2D1 #8459F2 #F2597A
square
#C7F259 #59F2D1 #8459F2 #F2597A
split-complementary
#C7F259 #597AF2 #D159F2
monochromatic
#8FC10F #B4EE20 #C7F259 #DAF692 #EDFBCB

Accessibility & contrast

On white

1.29
#C7F259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#C7F259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F259
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F259#FFFFFF#000000##000000
##C7F2591.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE445
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#D0E7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f259;
/* rgb */ color: rgb(199, 242, 89);
/* oklch */ color: oklch(90.2% 0.183 123.5);
Tailwind
colors: {
  custom: {
    50: '#dbf68e',
    500: '#c7f259',
    950: '#000000',
  },
}
SCSS
$custom: #c7f259;
$custom-light: #dbf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f259",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 76.863,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90203,
    "c": 0.18324,
    "h": 123.5
  },
  "luminance": 0.76368
}

Semantic roles & 50–950 ramp

primary
#C7F259
secondary
#5830BF
accent
#04E242
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F259

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

Preview Lab → · Contrast checker → · Palette generator →

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