#9FB731#9FB731

#9FB731 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.7% C 0.156 H 119.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#9FB731
RGBrgb(159, 183, 49)
HSLhsl(71, 58%, 45%)
HSVhsv(71, 73%, 72%)
CMYKcmyk(13.1%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.50, -25.77, 61.27)
CIE-LCHlch(70.50, 66.47, 112.81°)
OKLaboklab(73.69% -0.0765 0.1359)
OKLCHoklch(73.69% 0.156 119.4)
XYZxyz(31.7866, 41.4598, 9.2331)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB731 #4931B7
analogous
#B78C31 #9FB731 #5CB731
triadic
#9FB731 #319FB7 #B7319F
tetradic
#9FB731 #31B78C #4931B7 #B7315C
square
#9FB731 #31B78C #4931B7 #B7315C
split-complementary
#9FB731 #315CB7 #8C31B7
monochromatic
#4B5617 #758724 #9FB731 #BBD154 #CEDE84

Accessibility & contrast

On white

2.26
#9FB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#9FB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB731
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB731#FFFFFF#000000##000000
##9FB7311.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC16
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#A8AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fb731;
/* rgb */ color: rgb(159, 183, 49);
/* oklch */ color: oklch(73.7% 0.156 119.4);
Tailwind
colors: {
  custom: {
    50: '#bfcc73',
    500: '#9fb731',
    950: '#000000',
  },
}
SCSS
$custom: #9fb731;
$custom-light: #bfcc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb731",
  "rgb": {
    "r": 159,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 70.746,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73686,
    "c": 0.15601,
    "h": 119.4
  },
  "luminance": 0.4146
}

Semantic roles & 50–950 ramp

primary
#9FB731
secondary
#8A7CC8
accent
#47E162
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB731

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

Preview Lab → · Contrast checker → · Palette generator →

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