#9FB131#9FB131

#9FB131 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.149 H 117.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9FB131
RGBrgb(159, 177, 49)
HSLhsl(68, 57%, 44%)
HSVhsv(68, 72%, 69%)
CMYKcmyk(10.2%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.78, -22.83, 59.60)
CIE-LCHlch(68.78, 63.82, 110.96°)
OKLaboklab(72.3% -0.0684 0.1325)
OKLCHoklch(72.3% 0.149 117.3)
XYZxyz(30.5753, 39.0373, 8.8294)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB131 #4331B1
analogous
#B18331 #9FB131 #5FB131
triadic
#9FB131 #319FB1 #B1319F
tetradic
#9FB131 #31B183 #4331B1 #B1315F
square
#9FB131 #31B183 #4331B1 #B1315F
split-complementary
#9FB131 #315FB1 #8331B1
monochromatic
#495116 #748124 #9FB131 #BDCF51 #CFDC80

Accessibility & contrast

On white

2.38
#9FB131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#9FB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB131
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB131#FFFFFF#000000##000000
##9FB1311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#A9A798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb131;
/* rgb */ color: rgb(159, 177, 49);
/* oklch */ color: oklch(72.3% 0.149 117.3);
Tailwind
colors: {
  custom: {
    50: '#bfc872',
    500: '#9fb131',
    950: '#000000',
  },
}
SCSS
$custom: #9fb131;
$custom-light: #bfc872;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb131",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 68.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72303,
    "c": 0.14906,
    "h": 117.3
  },
  "luminance": 0.39037
}

Semantic roles & 50–950 ramp

primary
#9FB131
secondary
#8479C5
accent
#48E05D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB131

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

Preview Lab → · Contrast checker → · Palette generator →

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