#9FC538#9FC538

#9FC538 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 77.0% C 0.168 H 123.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#9FC538
RGBrgb(159, 197, 56)
HSLhsl(76, 56%, 50%)
HSVhsv(76, 72%, 77%)
CMYKcmyk(19.3%, 0%, 71.6%, 22.7%)
CIE-LABlab(74.56, -32.06, 62.76)
CIE-LCHlch(74.56, 70.48, 117.06°)
OKLaboklab(76.98% -0.0932 0.1402)
OKLCHoklch(76.98% 0.168 123.6)
XYZxyz(34.9785, 47.5887, 11.0834)
Luminance0.4759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC538 #5E38C5
analogous
#C5A438 #9FC538 #59C538
triadic
#9FC538 #389FC5 #C5389F
tetradic
#9FC538 #38C5A4 #5E38C5 #C53859
square
#9FC538 #38C5A4 #5E38C5 #C53859
split-complementary
#9FC538 #3859C5 #A438C5
monochromatic
#52661D #79952A #9FC538 #B6D467 #CDE196

Accessibility & contrast

On white

2.00
#9FC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#9FC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC538
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC538#FFFFFF#000000##000000
##9FC5381.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B91F
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#A7BBAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9fc538;
/* rgb */ color: rgb(159, 197, 56);
/* oklch */ color: oklch(77.0% 0.168 123.6);
Tailwind
colors: {
  custom: {
    50: '#bfd678',
    500: '#9fc538',
    950: '#000000',
  },
}
SCSS
$custom: #9fc538;
$custom-light: #bfd678;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc538",
  "rgb": {
    "r": 159,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 76.17,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76981,
    "c": 0.16839,
    "h": 123.6
  },
  "luminance": 0.47589
}

Semantic roles & 50–950 ramp

primary
#9FC538
secondary
#9E8CCD
accent
#49DF71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC538

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

Preview Lab → · Contrast checker → · Palette generator →

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