#9FA32E#9FA32E

#9FA32E 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#9FA32E
RGBrgb(159, 163, 46)
HSLhsl(62, 56%, 41%)
HSVhsv(62, 72%, 64%)
CMYKcmyk(2.5%, 0%, 71.8%, 36.1%)
CIE-LABlab(64.77, -15.91, 56.80)
CIE-LCHlch(64.77, 58.99, 105.65°)
OKLaboklab(69.09% -0.0494 0.126)
OKLCHoklch(69.09% 0.135 111.4)
XYZxyz(27.8893, 33.7633, 7.6321)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA32E #322EA3
analogous
#A36C2E #9FA32E #64A32E
triadic
#9FA32E #2E9FA3 #A32E9F
tetradic
#9FA32E #2EA36C #322EA3 #A32E64
square
#9FA32E #2EA36C #322EA3 #A32E64
split-complementary
#9FA32E #2E64A3 #6C2EA3
monochromatic
#424413 #707321 #9FA32E #C6CA44 #D4D874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA32E#FFFFFF#000000##000000
##9FA32E1.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)
#B09C19
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa32e;
/* rgb */ color: rgb(159, 163, 46);
/* oklch */ color: oklch(69.1% 0.135 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6f',
    500: '#9fa32e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa32e;
$custom-light: #bfbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa32e",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 62.051,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.13539,
    "h": 111.4
  },
  "luminance": 0.33763
}

Semantic roles & 50–950 ramp

primary
#9FA32E
secondary
#706DBF
accent
#49DF4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA32E

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

Preview Lab → · Contrast checker → · Palette generator →

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