#9F8327#9F8327

#9F8327 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 62.0% C 0.112 H 91.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9F8327
RGBrgb(159, 131, 39)
HSLhsl(46, 61%, 39%)
HSVhsv(46, 75%, 62%)
CMYKcmyk(0%, 17.6%, 75.5%, 37.6%)
CIE-LABlab(55.84, 0.94, 50.82)
CIE-LCHlch(55.84, 50.83, 88.94°)
OKLaboklab(61.97% -0.0025 0.112)
OKLCHoklch(61.97% 0.112 91.3)
XYZxyz(22.7819, 23.7514, 5.3036)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8327 #27439F
analogous
#9F4727 #9F8327 #7F9F27
triadic
#9F8327 #279F83 #83279F
tetradic
#9F8327 #279F47 #27439F #9F277F
square
#9F8327 #279F47 #27439F #9F277F
split-complementary
#9F8327 #277F9F #47279F
monochromatic
#3D320F #6E5B1B #9F8327 #CEAA36 #DABF67

Accessibility & contrast

On white

3.65
#9F8327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9F8327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8327
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8327#FFFFFF#000000##000000
##9F83271.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#AC7871
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f8327;
/* rgb */ color: rgb(159, 131, 39);
/* oklch */ color: oklch(62.0% 0.112 91.3);
Tailwind
colors: {
  custom: {
    50: '#bfa668',
    500: '#9f8327',
    950: '#000000',
  },
}
SCSS
$custom: #9f8327;
$custom-light: #bfa668;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8327",
  "rgb": {
    "r": 159,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 46,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.11206,
    "h": 91.3
  },
  "luminance": 0.2375
}

Semantic roles & 50–950 ramp

primary
#9F8327
secondary
#6278C0
accent
#69E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8327

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

Preview Lab → · Contrast checker → · Palette generator →

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