#9FC338#9FC338

#9FC338 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.5% C 0.166 H 123.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#9FC338
RGBrgb(159, 195, 56)
HSLhsl(76, 55%, 49%)
HSVhsv(76, 71%, 76%)
CMYKcmyk(18.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.99, -31.12, 62.19)
CIE-LCHlch(73.99, 69.55, 116.58°)
OKLaboklab(76.52% -0.0907 0.139)
OKLCHoklch(76.52% 0.166 123.1)
XYZxyz(34.5274, 46.6865, 10.9330)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC338 #5C38C3
analogous
#C3A238 #9FC338 #59C338
triadic
#9FC338 #389FC3 #C3389F
tetradic
#9FC338 #38C3A2 #5C38C3 #C33859
square
#9FC338 #38C3A2 #5C38C3 #C33859
split-complementary
#9FC338 #3859C3 #A238C3
monochromatic
#51641D #78932A #9FC338 #B6D365 #CDE195

Accessibility & contrast

On white

2.03
#9FC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#9FC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC338
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC338#FFFFFF#000000##000000
##9FC3381.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB71F
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#A7B9A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9fc338;
/* rgb */ color: rgb(159, 195, 56);
/* oklch */ color: oklch(76.5% 0.166 123.1);
Tailwind
colors: {
  custom: {
    50: '#bfd578',
    500: '#9fc338',
    950: '#000000',
  },
}
SCSS
$custom: #9fc338;
$custom-light: #bfd578;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc338",
  "rgb": {
    "r": 159,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 75.54,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76516,
    "c": 0.16599,
    "h": 123.1
  },
  "luminance": 0.46687
}

Semantic roles & 50–950 ramp

primary
#9FC338
secondary
#9C8BCC
accent
#49DF70
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC338

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

Preview Lab → · Contrast checker → · Palette generator →

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