#9FA032#9FA032

#9FA032 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.130 H 109.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9FA032
RGBrgb(159, 160, 50)
HSLhsl(61, 52%, 41%)
HSVhsv(61, 69%, 63%)
CMYKcmyk(0.6%, 0%, 68.8%, 37.3%)
CIE-LABlab(63.95, -14.14, 54.46)
CIE-LCHlch(63.95, 56.27, 104.56°)
OKLaboklab(68.44% -0.0441 0.1218)
OKLCHoklch(68.44% 0.13 109.9)
XYZxyz(27.4455, 32.7436, 7.8914)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA032 #3332A0
analogous
#A06A32 #9FA032 #68A032
triadic
#9FA032 #329FA0 #A0329F
tetradic
#9FA032 #32A06A #3332A0 #A03268
square
#9FA032 #32A06A #3332A0 #A03268
split-complementary
#9FA032 #3268A0 #6A32A0
monochromatic
#424315 #717123 #9FA032 #C5C649 #D4D578

Accessibility & contrast

On white

2.78
#9FA032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9FA032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA032
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA032#FFFFFF#000000##000000
##9FA0321.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9921
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa032;
/* rgb */ color: rgb(159, 160, 50);
/* oklch */ color: oklch(68.4% 0.130 109.9);
Tailwind
colors: {
  custom: {
    50: '#bebb71',
    500: '#9fa032',
    950: '#000000',
  },
}
SCSS
$custom: #9fa032;
$custom-light: #bebb71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa032",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 60.545,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68438,
    "c": 0.12953,
    "h": 109.9
  },
  "luminance": 0.32743
}

Semantic roles & 50–950 ramp

primary
#9FA032
secondary
#7171BD
accent
#4CDC4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #9FA032

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

Preview Lab → · Contrast checker → · Palette generator →

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