#C9F997#C9F997

#C9F997 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.6% C 0.135 H 129.9°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#C9F997
RGBrgb(201, 249, 151)
HSLhsl(89, 89%, 78%)
HSVhsv(89, 39%, 98%)
CMYKcmyk(19.3%, 0%, 39.4%, 2.4%)
CIE-LABlab(92.75, -31.55, 42.11)
CIE-LCHlch(92.75, 52.62, 126.84°)
OKLaboklab(92.65% -0.0866 0.1034)
OKLCHoklch(92.65% 0.135 129.9)
XYZxyz(63.5481, 82.4022, 41.8293)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9F997 #C797F9
analogous
#F9F897 #C9F997 #98F997
triadic
#C9F997 #97C9F9 #F997C9
tetradic
#C9F997 #97F9F8 #C797F9 #F99798
square
#C9F997 #97F9F8 #C797F9 #F99798
split-complementary
#C9F997 #9798F9 #F897F9
monochromatic
#8DF223 #ABF65D #C9F997 #E7FCD1 #F0FDE2

Accessibility & contrast

On white

1.20
#C9F997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#C9F997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9F997
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9F997#FFFFFF#000000##000000
##C9F9971.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#CCF1E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #c9f997;
/* rgb */ color: rgb(201, 249, 151);
/* oklch */ color: oklch(92.6% 0.135 129.9);
Tailwind
colors: {
  custom: {
    50: '#dbfbb7',
    500: '#c9f997',
    950: '#000000',
  },
}
SCSS
$custom: #c9f997;
$custom-light: #dbfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c9f997",
  "rgb": {
    "r": 201,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 89.388,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92649,
    "c": 0.13484,
    "h": 129.9
  },
  "luminance": 0.82403
}

Semantic roles & 50–950 ramp

primary
#C9F997
secondary
#995BD9
accent
#00E670
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #C9F997

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

Preview Lab → · Contrast checker → · Palette generator →

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