#9E8320#9E8320

#9E8320 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.116 H 92.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E8320
RGBrgb(158, 131, 32)
HSLhsl(47, 66%, 37%)
HSVhsv(47, 80%, 62%)
CMYKcmyk(0%, 17.1%, 79.7%, 38%)
CIE-LABlab(55.69, 0.19, 53.26)
CIE-LCHlch(55.69, 53.26, 89.80°)
OKLaboklab(61.82% -0.0054 0.1158)
OKLCHoklch(61.82% 0.116 92.7)
XYZxyz(22.4789, 23.6074, 4.7389)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8320 #203B9E
analogous
#9E4420 #9E8320 #7A9E20
triadic
#9E8320 #209E83 #83209E
tetradic
#9E8320 #209E44 #203B9E #9E207A
square
#9E8320 #209E44 #203B9E #9E207A
split-complementary
#9E8320 #207A9E #44209E
monochromatic
#382F0B #6B5916 #9E8320 #D1AD2A #DEC25B

Accessibility & contrast

On white

3.67
#9E8320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9E8320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8320
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8320#FFFFFF#000000##000000
##9E83201.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8320;
/* rgb */ color: rgb(158, 131, 32);
/* oklch */ color: oklch(61.8% 0.116 92.7);
Tailwind
colors: {
  custom: {
    50: '#bfa664',
    500: '#9e8320',
    950: '#000000',
  },
}
SCSS
$custom: #9e8320;
$custom-light: #bfa664;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8320",
  "rgb": {
    "r": 158,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 47.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.11593,
    "h": 92.7
  },
  "luminance": 0.23606
}

Semantic roles & 50–950 ramp

primary
#9E8320
secondary
#586FC2
accent
#63E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8320

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

Preview Lab → · Contrast checker → · Palette generator →

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