#C7F258#C7F258

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

Color values

HEX#C7F258
RGBrgb(199, 242, 88)
HSLhsl(77, 86%, 65%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(17.8%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.02, -35.18, 67.31)
CIE-LCHlch(90.02, 75.95, 117.59°)
OKLaboklab(90.19% -0.1014 0.1535)
OKLCHoklch(90.19% 0.184 123.4)
XYZxyz(57.0673, 76.3506, 20.9613)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F258 #8358F2
analogous
#F2D058 #C7F258 #7AF258
triadic
#C7F258 #58C7F2 #F258C7
tetradic
#C7F258 #58F2D0 #8358F2 #F2587A
square
#C7F258 #58F2D0 #8358F2 #F2587A
split-complementary
#C7F258 #587AF2 #D058F2
monochromatic
#8FC10F #B4EE1F #C7F258 #DAF691 #EDFBCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7F258#FFFFFF#000000##000000
##C7F2581.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)
#FFE444
Deuteranopia (green-blind)
#FAE263
Tritanopia (blue-blind)
#D0E7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c7f258;
/* rgb */ color: rgb(199, 242, 88);
/* oklch */ color: oklch(90.2% 0.184 123.4);
Tailwind
colors: {
  custom: {
    50: '#dbf68e',
    500: '#c7f258',
    950: '#000000',
  },
}
SCSS
$custom: #c7f258;
$custom-light: #dbf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f258",
  "rgb": {
    "r": 199,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 76.753,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90194,
    "c": 0.18397,
    "h": 123.4
  },
  "luminance": 0.76351
}

Semantic roles & 50–950 ramp

primary
#C7F258
secondary
#5830BE
accent
#03E242
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C7F258

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

Preview Lab → · Contrast checker → · Palette generator →

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