#9F8D32#9F8D32

#9F8D32 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.111 H 97.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9F8D32
RGBrgb(159, 141, 50)
HSLhsl(50, 52%, 41%)
HSVhsv(50, 69%, 62%)
CMYKcmyk(0%, 11.3%, 68.6%, 37.6%)
CIE-LABlab(58.65, -4.00, 49.06)
CIE-LCHlch(58.65, 49.23, 94.66°)
OKLaboklab(64.22% -0.0154 0.1104)
OKLCHoklch(64.22% 0.111 97.9)
XYZxyz(24.3998, 26.6521, 6.8762)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8D32 #32449F
analogous
#9F5632 #9F8D32 #7A9F32
triadic
#9F8D32 #329F8D #8D329F
tetradic
#9F8D32 #329F56 #32449F #9F327A
square
#9F8D32 #329F56 #32449F #9F327A
split-complementary
#9F8D32 #327A9F #56329F
monochromatic
#423A15 #706423 #9F8D32 #C6B149 #D4C577

Accessibility & contrast

On white

3.32
#9F8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9F8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8D32
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8D32#FFFFFF#000000##000000
##9F8D321.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A26
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#AB837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f8d32;
/* rgb */ color: rgb(159, 141, 50);
/* oklch */ color: oklch(64.2% 0.111 97.9);
Tailwind
colors: {
  custom: {
    50: '#bfae6f',
    500: '#9f8d32',
    950: '#000000',
  },
}
SCSS
$custom: #9f8d32;
$custom-light: #bfae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8d32",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 50.092,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.11146,
    "h": 97.9
  },
  "luminance": 0.26651
}

Semantic roles & 50–950 ramp

primary
#9F8D32
secondary
#707DBD
accent
#64DC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #9F8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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