#9FA131#9FA131

#9FA131 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.7% C 0.131 H 110.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9FA131
RGBrgb(159, 161, 49)
HSLhsl(61, 53%, 41%)
HSVhsv(61, 70%, 63%)
CMYKcmyk(1.2%, 0%, 69.6%, 36.9%)
CIE-LABlab(64.23, -14.72, 55.13)
CIE-LCHlch(64.23, 57.06, 104.95°)
OKLaboklab(68.66% -0.0458 0.123)
OKLCHoklch(68.66% 0.131 110.4)
XYZxyz(27.5982, 33.0832, 7.8370)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA131 #3331A1
analogous
#A16B31 #9FA131 #67A131
triadic
#9FA131 #319FA1 #A1319F
tetradic
#9FA131 #31A16B #3331A1 #A13167
square
#9FA131 #31A16B #3331A1 #A13167
split-complementary
#9FA131 #3167A1 #6B31A1
monochromatic
#424314 #717223 #9FA131 #C5C748 #D4D677

Accessibility & contrast

On white

2.76
#9FA131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9FA131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA131
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA131#FFFFFF#000000##000000
##9FA1311.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa131;
/* rgb */ color: rgb(159, 161, 49);
/* oklch */ color: oklch(68.7% 0.131 110.4);
Tailwind
colors: {
  custom: {
    50: '#bebc70',
    500: '#9fa131',
    950: '#000000',
  },
}
SCSS
$custom: #9fa131;
$custom-light: #bebc70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa131",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 61.071,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.13127,
    "h": 110.4
  },
  "luminance": 0.33082
}

Semantic roles & 50–950 ramp

primary
#9FA131
secondary
#7170BE
accent
#4BDD4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA131

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

Preview Lab → · Contrast checker → · Palette generator →

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