#C9F97A#C9F97A

#C9F97A is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.2% C 0.164 H 126.5°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#C9F97A
RGBrgb(201, 249, 122)
HSLhsl(83, 91%, 73%)
HSVhsv(83, 51%, 98%)
CMYKcmyk(19.3%, 0%, 51%, 2.4%)
CIE-LABlab(92.39, -34.78, 55.42)
CIE-LCHlch(92.39, 65.43, 122.11°)
OKLaboklab(92.24% -0.0974 0.1315)
OKLCHoklch(92.24% 0.164 126.5)
XYZxyz(61.4757, 81.5733, 30.9150)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9F97A #AA7AF9
analogous
#F9E97A #C9F97A #89F97A
triadic
#C9F97A #7AC9F9 #F97AC9
tetradic
#C9F97A #7AF9E9 #AA7AF9 #F97A89
square
#C9F97A #7AF9E9 #AA7AF9 #F97A89
split-complementary
#C9F97A #7A89F9 #E97AF9
monochromatic
#98EE0B #B1F63F #C9F97A #E1FCB5 #F3FEE2

Accessibility & contrast

On white

1.21
#C9F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#C9F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9F97A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9F97A#FFFFFF#000000##000000
##C9F97A1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#CFEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c9f97a;
/* rgb */ color: rgb(201, 249, 122);
/* oklch */ color: oklch(92.2% 0.164 126.5);
Tailwind
colors: {
  custom: {
    50: '#dcfba3',
    500: '#c9f97a',
    950: '#000000',
  },
}
SCSS
$custom: #c9f97a;
$custom-light: #dcfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#c9f97a",
  "rgb": {
    "r": 201,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 82.677,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92235,
    "c": 0.16368,
    "h": 126.5
  },
  "luminance": 0.81574
}

Semantic roles & 50–950 ramp

primary
#C9F97A
secondary
#7A42D5
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C9F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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