#9FB332#9FB332

#9FB332 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.151 H 118.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9FB332
RGBrgb(159, 179, 50)
HSLhsl(69, 56%, 45%)
HSVhsv(69, 72%, 70%)
CMYKcmyk(11.2%, 0%, 72.1%, 29.8%)
CIE-LABlab(69.36, -23.76, 59.81)
CIE-LCHlch(69.36, 64.35, 111.67°)
OKLaboklab(72.77% -0.0709 0.1331)
OKLCHoklch(72.77% 0.151 118)
XYZxyz(30.9946, 39.8417, 9.0744)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB332 #4632B3
analogous
#B38632 #9FB332 #5FB332
triadic
#9FB332 #329FB3 #B3329F
tetradic
#9FB332 #32B386 #4632B3 #B3325F
square
#9FB332 #32B386 #4632B3 #B3325F
split-complementary
#9FB332 #325FB3 #8632B3
monochromatic
#4A5317 #758325 #9FB332 #BCCF53 #CFDC83

Accessibility & contrast

On white

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

On black

8.97
#9FB332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB332
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB332#FFFFFF#000000##000000
##9FB3321.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#A9A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb332;
/* rgb */ color: rgb(159, 179, 50);
/* oklch */ color: oklch(72.8% 0.151 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfc973',
    500: '#9fb332',
    950: '#000000',
  },
}
SCSS
$custom: #9fb332;
$custom-light: #bfc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb332",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 69.302,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.15076,
    "h": 118
  },
  "luminance": 0.39841
}

Semantic roles & 50–950 ramp

primary
#9FB332
secondary
#877BC6
accent
#48E060
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB332

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

Preview Lab → · Contrast checker → · Palette generator →

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