#9FA431#9FA431

#9FA431 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.135 H 111.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9FA431
RGBrgb(159, 164, 49)
HSLhsl(63, 54%, 42%)
HSVhsv(63, 70%, 64%)
CMYKcmyk(3%, 0%, 70.1%, 35.7%)
CIE-LABlab(65.08, -16.27, 55.97)
CIE-LCHlch(65.08, 58.29, 106.21°)
OKLaboklab(69.34% -0.0501 0.1248)
OKLCHoklch(69.34% 0.135 111.9)
XYZxyz(28.1288, 34.1443, 8.0139)
Luminance0.3414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA431 #3631A4
analogous
#A47031 #9FA431 #66A431
triadic
#9FA431 #319FA4 #A4319F
tetradic
#9FA431 #31A470 #3631A4 #A43166
square
#9FA431 #31A470 #3631A4 #A43166
split-complementary
#9FA431 #3166A4 #7031A4
monochromatic
#444615 #717523 #9FA431 #C3C949 #D3D779

Accessibility & contrast

On white

2.68
#9FA431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9FA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA431
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA431#FFFFFF#000000##000000
##9FA4311.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1E
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa431;
/* rgb */ color: rgb(159, 164, 49);
/* oklch */ color: oklch(69.3% 0.135 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe71',
    500: '#9fa431',
    950: '#000000',
  },
}
SCSS
$custom: #9fa431;
$custom-light: #bebe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa431",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 62.609,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.1345,
    "h": 111.9
  },
  "luminance": 0.34144
}

Semantic roles & 50–950 ramp

primary
#9FA431
secondary
#7572BF
accent
#4ADD51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA431

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

Preview Lab → · Contrast checker → · Palette generator →

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