#9F8320#9F8320

#9F8320 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.116 H 92.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F8320
RGBrgb(159, 131, 32)
HSLhsl(47, 66%, 37%)
HSVhsv(47, 80%, 62%)
CMYKcmyk(0%, 17.6%, 79.9%, 37.6%)
CIE-LABlab(55.80, 0.65, 53.39)
CIE-LCHlch(55.80, 53.39, 89.31°)
OKLaboklab(61.92% -0.0041 0.116)
OKLCHoklch(61.92% 0.116 92)
XYZxyz(22.6764, 23.7092, 4.7482)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8320 #203C9F
analogous
#9F4420 #9F8320 #7B9F20
triadic
#9F8320 #209F83 #83209F
tetradic
#9F8320 #209F44 #203C9F #9F207B
square
#9F8320 #209F44 #203C9F #9F207B
split-complementary
#9F8320 #207B9F #44209F
monochromatic
#392F0B #6C5916 #9F8320 #D2AD2A #DEC15B

Accessibility & contrast

On white

3.66
#9F8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9F8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8320
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8320#FFFFFF#000000##000000
##9F83201.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#AD7870
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f8320;
/* rgb */ color: rgb(159, 131, 32);
/* oklch */ color: oklch(61.9% 0.116 92.0);
Tailwind
colors: {
  custom: {
    50: '#c0a664',
    500: '#9f8320',
    950: '#000000',
  },
}
SCSS
$custom: #9f8320;
$custom-light: #c0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8320",
  "rgb": {
    "r": 159,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 46.772,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.11611,
    "h": 92
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#9F8320
secondary
#5970C2
accent
#64E93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8320

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

Preview Lab → · Contrast checker → · Palette generator →

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