#9FB337#9FB337

#9FB337 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.148 H 118.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9FB337
RGBrgb(159, 179, 55)
HSLhsl(70, 53%, 46%)
HSVhsv(70, 69%, 70%)
CMYKcmyk(11.2%, 0%, 69.3%, 29.8%)
CIE-LABlab(69.39, -23.48, 57.98)
CIE-LCHlch(69.39, 62.55, 112.05°)
OKLaboklab(72.81% -0.0696 0.13)
OKLCHoklch(72.81% 0.148 118.2)
XYZxyz(31.1084, 39.8872, 9.6739)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB337 #4B37B3
analogous
#B38937 #9FB337 #61B337
triadic
#9FB337 #379FB3 #B3379F
tetradic
#9FB337 #37B389 #4B37B3 #B33761
square
#9FB337 #37B389 #4B37B3 #B33761
split-complementary
#9FB337 #3761B3 #8937B3
monochromatic
#4C551A #758429 #9FB337 #BACD5B #CEDB8A

Accessibility & contrast

On white

2.34
#9FB337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#9FB337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB337
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB337#FFFFFF#000000##000000
##9FB3371.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA923
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#A8A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb337;
/* rgb */ color: rgb(159, 179, 55);
/* oklch */ color: oklch(72.8% 0.148 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec975',
    500: '#9fb337',
    950: '#000000',
  },
}
SCSS
$custom: #9fb337;
$custom-light: #bec975;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb337",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 69.677,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.14751,
    "h": 118.2
  },
  "luminance": 0.39887
}

Semantic roles & 50–950 ramp

primary
#9FB337
secondary
#8C81C5
accent
#4BDC63
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FB337

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

Preview Lab → · Contrast checker → · Palette generator →

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