#9FA32A#9FA32A

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

Color values

HEX#9FA32A
RGBrgb(159, 163, 42)
HSLhsl(62, 59%, 40%)
HSVhsv(62, 74%, 64%)
CMYKcmyk(2.5%, 0%, 74.2%, 36.1%)
CIE-LABlab(64.75, -16.11, 58.21)
CIE-LCHlch(64.75, 60.40, 105.47°)
OKLaboklab(69.06% -0.0504 0.1283)
OKLCHoklch(69.06% 0.138 111.4)
XYZxyz(27.8141, 33.7332, 7.2360)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA32A #2E2AA3
analogous
#A36A2A #9FA32A #63A32A
triadic
#9FA32A #2A9FA3 #A32A9F
tetradic
#9FA32A #2AA36A #2E2AA3 #A32A63
square
#9FA32A #2AA36A #2E2AA3 #A32A63
split-complementary
#9FA32A #2A63A3 #6A2AA3
monochromatic
#404211 #70721D #9FA32A #C8CD3D #D6DA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA32A#FFFFFF#000000##000000
##9FA32A1.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)
#B09B10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa32a;
/* rgb */ color: rgb(159, 163, 42);
/* oklch */ color: oklch(69.1% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6d',
    500: '#9fa32a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa32a;
$custom-light: #bfbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa32a",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 61.983,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6906,
    "c": 0.13782,
    "h": 111.4
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#9FA32A
secondary
#6B68C0
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA32A

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

Preview Lab → · Contrast checker → · Palette generator →

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