#9FB32F#9FB32F

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

Color values

HEX#9FB32F
RGBrgb(159, 179, 47)
HSLhsl(69, 58%, 44%)
HSVhsv(69, 74%, 70%)
CMYKcmyk(11.2%, 0%, 73.7%, 29.8%)
CIE-LABlab(69.34, -23.92, 60.85)
CIE-LCHlch(69.34, 65.38, 111.46°)
OKLaboklab(72.75% -0.0716 0.1347)
OKLCHoklch(72.75% 0.153 118)
XYZxyz(30.9320, 39.8167, 8.7447)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB32F #432FB3
analogous
#B3852F #9FB32F #5DB32F
triadic
#9FB32F #2F9FB3 #B32F9F
tetradic
#9FB32F #2FB385 #432FB3 #B32F5D
square
#9FB32F #2FB385 #432FB3 #B32F5D
split-complementary
#9FB32F #2F5DB3 #852FB3
monochromatic
#495216 #748322 #9FB32F #BDD14F #CFDD7F

Accessibility & contrast

On white

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

On black

8.96
#9FB32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB32F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB32F#FFFFFF#000000##000000
##9FB32F1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb32f;
/* rgb */ color: rgb(159, 179, 47);
/* oklch */ color: oklch(72.8% 0.153 118.0);
Tailwind
colors: {
  custom: {
    50: '#bfc971',
    500: '#9fb32f',
    950: '#000000',
  },
}
SCSS
$custom: #9fb32f;
$custom-light: #bfc971;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb32f",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 69.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7275,
    "c": 0.15256,
    "h": 118
  },
  "luminance": 0.39816
}

Semantic roles & 50–950 ramp

primary
#9FB32F
secondary
#8478C6
accent
#46E25E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB32F

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

Preview Lab → · Contrast checker → · Palette generator →

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