#9FB831#9FB831

#9FB831 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.9% C 0.157 H 119.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#9FB831
RGBrgb(159, 184, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 73%, 72%)
CMYKcmyk(13.6%, 0%, 73.4%, 27.8%)
CIE-LABlab(70.78, -26.26, 61.54)
CIE-LCHlch(70.78, 66.91, 113.10°)
OKLaboklab(73.92% -0.0779 0.1365)
OKLCHoklch(73.92% 0.157 119.7)
XYZxyz(31.9936, 41.8738, 9.3021)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB831 #4A31B8
analogous
#B88D31 #9FB831 #5BB831
triadic
#9FB831 #319FB8 #B8319F
tetradic
#9FB831 #31B88D #4A31B8 #B8315B
square
#9FB831 #31B88D #4A31B8 #B8315B
split-complementary
#9FB831 #315BB8 #8D31B8
monochromatic
#4B5717 #758824 #9FB831 #BAD255 #CEDE85

Accessibility & contrast

On white

2.24
#9FB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#9FB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB831
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB831#FFFFFF#000000##000000
##9FB8311.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD16
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#A8AE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fb831;
/* rgb */ color: rgb(159, 184, 49);
/* oklch */ color: oklch(73.9% 0.157 119.7);
Tailwind
colors: {
  custom: {
    50: '#bfcd73',
    500: '#9fb831',
    950: '#000000',
  },
}
SCSS
$custom: #9fb831;
$custom-light: #bfcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb831",
  "rgb": {
    "r": 159,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 71.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73917,
    "c": 0.15718,
    "h": 119.7
  },
  "luminance": 0.41874
}

Semantic roles & 50–950 ramp

primary
#9FB831
secondary
#8B7DC8
accent
#47E163
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB831

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

Preview Lab → · Contrast checker → · Palette generator →

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