#9FA32B#9FA32B

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

Color values

HEX#9FA32B
RGBrgb(159, 163, 43)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 74%, 64%)
CMYKcmyk(2.5%, 0%, 73.6%, 36.1%)
CIE-LABlab(64.76, -16.06, 57.87)
CIE-LCHlch(64.76, 60.06, 105.51°)
OKLaboklab(69.07% -0.0501 0.1278)
OKLCHoklch(69.07% 0.137 111.4)
XYZxyz(27.8322, 33.7404, 7.3315)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA32B #2F2BA3
analogous
#A36B2B #9FA32B #63A32B
triadic
#9FA32B #2B9FA3 #A32B9F
tetradic
#9FA32B #2BA36B #2F2BA3 #A32B63
square
#9FA32B #2BA36B #2F2BA3 #A32B63
split-complementary
#9FA32B #2B63A3 #6B2BA3
monochromatic
#414211 #70731E #9FA32B #C8CC3F #D6D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA32B#FFFFFF#000000##000000
##9FA32B1.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)
#B09B13
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa32b;
/* rgb */ color: rgb(159, 163, 43);
/* oklch */ color: oklch(69.1% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6d',
    500: '#9fa32b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa32b;
$custom-light: #bfbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa32b",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 62,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69066,
    "c": 0.13723,
    "h": 111.4
  },
  "luminance": 0.3374
}

Semantic roles & 50–950 ramp

primary
#9FA32B
secondary
#6D6AC0
accent
#46E14C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA32B

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

Preview Lab → · Contrast checker → · Palette generator →

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