#9FA32F#9FA32F

#9FA32F is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.135 H 111.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9FA32F
RGBrgb(159, 163, 47)
HSLhsl(62, 55%, 41%)
HSVhsv(62, 71%, 64%)
CMYKcmyk(2.5%, 0%, 71.2%, 36.1%)
CIE-LABlab(64.78, -15.86, 56.44)
CIE-LCHlch(64.78, 58.62, 105.70°)
OKLaboklab(69.09% -0.0492 0.1254)
OKLCHoklch(69.09% 0.135 111.4)
XYZxyz(27.9093, 33.7713, 7.7371)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA32F #332FA3
analogous
#A36D2F #9FA32F #65A32F
triadic
#9FA32F #2F9FA3 #A32F9F
tetradic
#9FA32F #2FA36D #332FA3 #A32F65
square
#9FA32F #2FA36D #332FA3 #A32F65
split-complementary
#9FA32F #2F65A3 #6D2FA3
monochromatic
#424414 #717321 #9FA32F #C5CA46 #D4D775

Accessibility & contrast

On white

2.71
#9FA32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9FA32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA32F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA32F#FFFFFF#000000##000000
##9FA32F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa32f;
/* rgb */ color: rgb(159, 163, 47);
/* oklch */ color: oklch(69.1% 0.135 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6f',
    500: '#9fa32f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa32f;
$custom-light: #bfbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa32f",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 62.069,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.13474,
    "h": 111.4
  },
  "luminance": 0.33771
}

Semantic roles & 50–950 ramp

primary
#9FA32F
secondary
#716FBF
accent
#49DF4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA32F

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

Preview Lab → · Contrast checker → · Palette generator →

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