#9FA832#9FA832

#9FA832 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.138 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA832
RGBrgb(159, 168, 50)
HSLhsl(65, 54%, 43%)
HSVhsv(65, 70%, 66%)
CMYKcmyk(5.4%, 0%, 70.2%, 34.1%)
CIE-LABlab(66.22, -18.26, 56.72)
CIE-LCHlch(66.22, 59.59, 107.84°)
OKLaboklab(70.25% -0.0556 0.1266)
OKLCHoklch(70.25% 0.138 113.7)
XYZxyz(28.8773, 35.6071, 8.3686)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA832 #3B32A8
analogous
#A87632 #9FA832 #64A832
triadic
#9FA832 #329FA8 #A8329F
tetradic
#9FA832 #32A876 #3B32A8 #A83264
square
#9FA832 #32A876 #3B32A8 #A83264
split-complementary
#9FA832 #3264A8 #7632A8
monochromatic
#464A16 #727924 #9FA832 #C1CA4D #D1D87C

Accessibility & contrast

On white

2.59
#9FA832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9FA832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA832
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA832#FFFFFF#000000##000000
##9FA8321.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#AA9E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa832;
/* rgb */ color: rgb(159, 168, 50);
/* oklch */ color: oklch(70.3% 0.138 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec172',
    500: '#9fa832',
    950: '#000000',
  },
}
SCSS
$custom: #9fa832;
$custom-light: #bec172;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa832",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 64.576,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.13823,
    "h": 113.7
  },
  "luminance": 0.35606
}

Semantic roles & 50–950 ramp

primary
#9FA832
secondary
#7B75C1
accent
#4ADD56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA832

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

Preview Lab → · Contrast checker → · Palette generator →

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