#9FCC48#9FCC48

#9FCC48 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.7% C 0.166 H 126.1°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#9FCC48
RGBrgb(159, 204, 72)
HSLhsl(80, 56%, 54%)
HSVhsv(80, 65%, 80%)
CMYKcmyk(22.1%, 0%, 64.7%, 20%)
CIE-LABlab(76.69, -34.26, 58.81)
CIE-LCHlch(76.69, 68.06, 120.22°)
OKLaboklab(78.74% -0.0979 0.1342)
OKLCHoklch(78.74% 0.166 126.1)
XYZxyz(37.0607, 51.0240, 14.0257)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC48 #7548CC
analogous
#CCB748 #9FCC48 #5DCC48
triadic
#9FCC48 #489FCC #CC489F
tetradic
#9FCC48 #48CCB7 #7548CC #CC485D
square
#9FCC48 #48CCB7 #7548CC #CC485D
split-complementary
#9FCC48 #485DCC #B748CC
monochromatic
#5B7821 #7FA82F #9FCC48 #B8D978 #D1E7A8

Accessibility & contrast

On white

1.87
#9FCC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#9FCC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC48
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC48#FFFFFF#000000##000000
##9FCC481.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#D0BD52
Tritanopia (blue-blind)
#A5C3B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fcc48;
/* rgb */ color: rgb(159, 204, 72);
/* oklch */ color: oklch(78.7% 0.166 126.1);
Tailwind
colors: {
  custom: {
    50: '#bfdb81',
    500: '#9fcc48',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc48;
$custom-light: #bfdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc48",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 80.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78739,
    "c": 0.16615,
    "h": 126.1
  },
  "luminance": 0.51025
}

Semantic roles & 50–950 ramp

primary
#9FCC48
secondary
#513880
accent
#48E07C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9FCC48

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

Preview Lab → · Contrast checker → · Palette generator →

#9FCC48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva