#C9F257#C9F257

#C9F257 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.3% C 0.184 H 122.8°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#C9F257
RGBrgb(201, 242, 87)
HSLhsl(76, 86%, 65%)
HSVhsv(76, 64%, 95%)
CMYKcmyk(16.9%, 0%, 64%, 5.1%)
CIE-LABlab(90.14, -34.48, 67.87)
CIE-LCHlch(90.14, 76.13, 116.93°)
OKLaboklab(90.32% -0.0996 0.1545)
OKLCHoklch(90.32% 0.184 122.8)
XYZxyz(57.5604, 76.6097, 20.7697)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9F257 #8057F2
analogous
#F2CE57 #C9F257 #7CF257
triadic
#C9F257 #57C9F2 #F257C9
tetradic
#C9F257 #57F2CE #8057F2 #F2577C
square
#C9F257 #57F2CE #8057F2 #F2577C
split-complementary
#C9F257 #577CF2 #CE57F2
monochromatic
#91C00F #B7EE1E #C9F257 #DBF690 #EEFBC9

Accessibility & contrast

On white

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

On black

16.32
#C9F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9F257
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9F257#FFFFFF#000000##000000
##C9F2571.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE442
Deuteranopia (green-blind)
#FAE363
Tritanopia (blue-blind)
#D3E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c9f257;
/* rgb */ color: rgb(201, 242, 87);
/* oklch */ color: oklch(90.3% 0.184 122.8);
Tailwind
colors: {
  custom: {
    50: '#ddf68d',
    500: '#c9f257',
    950: '#000000',
  },
}
SCSS
$custom: #c9f257;
$custom-light: #ddf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9f257",
  "rgb": {
    "r": 201,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 75.871,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90321,
    "c": 0.18388,
    "h": 122.8
  },
  "luminance": 0.7661
}

Semantic roles & 50–950 ramp

primary
#C9F257
secondary
#5530BE
accent
#03E23E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C9F257

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

Preview Lab → · Contrast checker → · Palette generator →

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