#9FA932#9FA932

#9FA932 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.139 H 114.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9FA932
RGBrgb(159, 169, 50)
HSLhsl(65, 54%, 43%)
HSVhsv(65, 70%, 66%)
CMYKcmyk(5.9%, 0%, 70.4%, 33.7%)
CIE-LABlab(66.50, -18.77, 57.00)
CIE-LCHlch(66.50, 60.01, 108.22°)
OKLaboklab(70.48% -0.057 0.1272)
OKLCHoklch(70.48% 0.139 114.1)
XYZxyz(29.0626, 35.9777, 8.4304)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA932 #3C32A9
analogous
#A97732 #9FA932 #63A932
triadic
#9FA932 #329FA9 #A9329F
tetradic
#9FA932 #32A977 #3C32A9 #A93263
square
#9FA932 #32A977 #3C32A9 #A93263
split-complementary
#9FA932 #3263A9 #7732A9
monochromatic
#464B16 #737A24 #9FA932 #C0CB4E #D1D97D

Accessibility & contrast

On white

2.56
#9FA932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9FA932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA932
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA932#FFFFFF#000000##000000
##9FA9321.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A11E
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa932;
/* rgb */ color: rgb(159, 169, 50);
/* oklch */ color: oklch(70.5% 0.139 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec272',
    500: '#9fa932',
    950: '#000000',
  },
}
SCSS
$custom: #9fa932;
$custom-light: #bec272;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa932",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 50
  },
  "hsl": {
    "h": 65.042,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.13935,
    "h": 114.1
  },
  "luminance": 0.35977
}

Semantic roles & 50–950 ramp

primary
#9FA932
secondary
#7C76C1
accent
#4ADE57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA932

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

Preview Lab → · Contrast checker → · Palette generator →

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