#C9F978#C9F978

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

Color values

HEX#C9F978
RGBrgb(201, 249, 120)
HSLhsl(82, 91%, 72%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(19.3%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.36, -34.97, 56.31)
CIE-LCHlch(92.36, 66.28, 121.84°)
OKLaboklab(92.21% -0.0981 0.1333)
OKLCHoklch(92.21% 0.166 126.4)
XYZxyz(61.3531, 81.5242, 30.2691)
Luminance0.8153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9F978 #A878F9
analogous
#F9E978 #C9F978 #88F978
triadic
#C9F978 #78C9F9 #F978C9
tetradic
#C9F978 #78F9E9 #A878F9 #F97888
square
#C9F978 #78F9E9 #A878F9 #F97888
split-complementary
#C9F978 #7888F9 #E978F9
monochromatic
#98EC0A #B2F63D #C9F978 #E0FCB3 #F3FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9F978#FFFFFF#000000##000000
##C9F9781.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)
#FFEB6C
Deuteranopia (green-blind)
#FEE880
Tritanopia (blue-blind)
#CFEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c9f978;
/* rgb */ color: rgb(201, 249, 120);
/* oklch */ color: oklch(92.2% 0.166 126.4);
Tailwind
colors: {
  custom: {
    50: '#dcfba2',
    500: '#c9f978',
    950: '#000000',
  },
}
SCSS
$custom: #c9f978;
$custom-light: #dcfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c9f978",
  "rgb": {
    "r": 201,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 82.326,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92211,
    "c": 0.16553,
    "h": 126.4
  },
  "luminance": 0.81525
}

Semantic roles & 50–950 ramp

primary
#C9F978
secondary
#7840D5
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C9F978

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

Preview Lab → · Contrast checker → · Palette generator →

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