#9FAC32#9FAC32

#9FAC32 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.143 H 115.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#9FAC32
RGBrgb(159, 172, 50)
HSLhsl(66, 55%, 44%)
HSVhsv(66, 71%, 67%)
CMYKcmyk(7.6%, 0%, 70.9%, 32.5%)
CIE-LABlab(67.36, -20.28, 57.85)
CIE-LCHlch(67.36, 61.30, 109.32°)
OKLaboklab(71.16% -0.0612 0.1289)
OKLCHoklch(71.16% 0.143 115.4)
XYZxyz(29.6271, 37.1067, 8.6186)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC32 #3F32AC
analogous
#AC7C32 #9FAC32 #62AC32
triadic
#9FAC32 #329FAC #AC329F
tetradic
#9FAC32 #32AC7C #3F32AC #AC3262
square
#9FAC32 #32AC7C #3F32AC #AC3262
split-complementary
#9FAC32 #3262AC #7C32AC
monochromatic
#474D16 #737D24 #9FAC32 #BFCC4F #D0DA7F

Accessibility & contrast

On white

2.49
#9FAC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#9FAC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC32
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC32#FFFFFF#000000##000000
##9FAC321.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac32;
/* rgb */ color: rgb(159, 172, 50);
/* oklch */ color: oklch(71.2% 0.143 115.4);
Tailwind
colors: {
  custom: {
    50: '#bfc472',
    500: '#9fac32',
    950: '#000000',
  },
}
SCSS
$custom: #9fac32;
$custom-light: #bfc472;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac32",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 66.393,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.14273,
    "h": 115.4
  },
  "luminance": 0.37106
}

Semantic roles & 50–950 ramp

primary
#9FAC32
secondary
#7F77C3
accent
#4ADE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC32

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

Preview Lab → · Contrast checker → · Palette generator →

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