#9FC938#9FC938

#9FC938 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 77.9% C 0.173 H 124.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#9FC938
RGBrgb(159, 201, 56)
HSLhsl(77, 57%, 50%)
HSVhsv(77, 72%, 79%)
CMYKcmyk(20.9%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.72, -33.91, 63.90)
CIE-LCHlch(75.72, 72.34, 117.96°)
OKLaboklab(77.91% -0.0983 0.1426)
OKLCHoklch(77.91% 0.173 124.6)
XYZxyz(35.8988, 49.4294, 11.3902)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC938 #6238C9
analogous
#C9AA38 #9FC938 #57C938
triadic
#9FC938 #389FC9 #C9389F
tetradic
#9FC938 #38C9AA #6238C9 #C93857
square
#9FC938 #38C9AA #6238C9 #C93857
split-complementary
#9FC938 #3857C9 #AA38C9
monochromatic
#546A1D #7A9A2A #9FC938 #B6D668 #CDE398

Accessibility & contrast

On white

1.93
#9FC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#9FC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC938
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC938#FFFFFF#000000##000000
##9FC9381.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#A6BFAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fc938;
/* rgb */ color: rgb(159, 201, 56);
/* oklch */ color: oklch(77.9% 0.173 124.6);
Tailwind
colors: {
  custom: {
    50: '#bfd978',
    500: '#9fc938',
    950: '#000000',
  },
}
SCSS
$custom: #9fc938;
$custom-light: #bfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc938",
  "rgb": {
    "r": 159,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 77.379,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77914,
    "c": 0.17322,
    "h": 124.6
  },
  "luminance": 0.4943
}

Semantic roles & 50–950 ramp

primary
#9FC938
secondary
#A18ECF
accent
#47E174
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC938

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

Preview Lab → · Contrast checker → · Palette generator →

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