#9F8A32#9F8A32

#9F8A32 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.109 H 95.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F8A32
RGBrgb(159, 138, 50)
HSLhsl(48, 52%, 41%)
HSVhsv(48, 69%, 62%)
CMYKcmyk(0%, 13.2%, 68.6%, 37.6%)
CIE-LABlab(57.83, -2.35, 48.21)
CIE-LCHlch(57.83, 48.27, 92.79°)
OKLaboklab(63.57% -0.0107 0.1086)
OKLCHoklch(63.57% 0.109 95.6)
XYZxyz(23.9634, 25.7794, 6.7307)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8A32 #32479F
analogous
#9F5332 #9F8A32 #7D9F32
triadic
#9F8A32 #329F8A #8A329F
tetradic
#9F8A32 #329F53 #32479F #9F327D
square
#9F8A32 #329F53 #32479F #9F327D
split-complementary
#9F8A32 #327D9F #53329F
monochromatic
#423915 #706223 #9F8A32 #C6AE49 #D4C277

Accessibility & contrast

On white

3.41
#9F8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9F8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8A32
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8A32#FFFFFF#000000##000000
##9F8A321.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9D8E37
Tritanopia (blue-blind)
#AC8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f8a32;
/* rgb */ color: rgb(159, 138, 50);
/* oklch */ color: oklch(63.6% 0.109 95.6);
Tailwind
colors: {
  custom: {
    50: '#bfab6f',
    500: '#9f8a32',
    950: '#000000',
  },
}
SCSS
$custom: #9f8a32;
$custom-light: #bfab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8a32",
  "rgb": {
    "r": 159,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 48.44,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.10912,
    "h": 95.6
  },
  "luminance": 0.25778
}

Semantic roles & 50–950 ramp

primary
#9F8A32
secondary
#707FBD
accent
#68DC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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