#9FA332#9FA332

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

Color values

HEX#9FA332
RGBrgb(159, 163, 50)
HSLhsl(62, 53%, 42%)
HSVhsv(62, 69%, 64%)
CMYKcmyk(2.5%, 0%, 69.3%, 36.1%)
CIE-LABlab(64.80, -15.70, 55.31)
CIE-LCHlch(64.80, 57.50, 105.84°)
OKLaboklab(69.12% -0.0484 0.1236)
OKLCHoklch(69.12% 0.133 111.4)
XYZxyz(27.9719, 33.7963, 8.0668)
Luminance0.3380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA332 #3632A3
analogous
#A36F32 #9FA332 #67A332
triadic
#9FA332 #329FA3 #A3329F
tetradic
#9FA332 #32A36F #3632A3 #A33267
square
#9FA332 #32A36F #3632A3 #A33267
split-complementary
#9FA332 #3267A3 #6F32A3
monochromatic
#444515 #717424 #9FA332 #C3C84B #D3D679

Accessibility & contrast

On white

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

On black

7.76
#9FA332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA332
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA332#FFFFFF#000000##000000
##9FA3321.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#AA998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa332;
/* rgb */ color: rgb(159, 163, 50);
/* oklch */ color: oklch(69.1% 0.133 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe71',
    500: '#9fa332',
    950: '#000000',
  },
}
SCSS
$custom: #9fa332;
$custom-light: #bebe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa332",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 62.124,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69116,
    "c": 0.13274,
    "h": 111.4
  },
  "luminance": 0.33796
}

Semantic roles & 50–950 ramp

primary
#9FA332
secondary
#7572BF
accent
#4BDC50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA332

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

Preview Lab → · Contrast checker → · Palette generator →

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