#9E8920#9E8920

#9E8920 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.120 H 97.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E8920
RGBrgb(158, 137, 32)
HSLhsl(50, 66%, 37%)
HSVhsv(50, 80%, 62%)
CMYKcmyk(0%, 13.3%, 79.7%, 38%)
CIE-LABlab(57.33, -3.13, 54.74)
CIE-LCHlch(57.33, 54.83, 93.27°)
OKLaboklab(63.12% -0.0148 0.119)
OKLCHoklch(63.12% 0.12 97.1)
XYZxyz(23.3082, 25.2660, 5.0153)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8920 #20359E
analogous
#9E4A20 #9E8920 #749E20
triadic
#9E8920 #209E89 #89209E
tetradic
#9E8920 #209E4A #20359E #9E2074
square
#9E8920 #209E4A #20359E #9E2074
split-complementary
#9E8920 #20749E #4A209E
monochromatic
#38310B #6B5D16 #9E8920 #D1B52A #DEC85B

Accessibility & contrast

On white

3.47
#9E8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9E8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8920
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8920#FFFFFF#000000##000000
##9E89201.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988606
Deuteranopia (green-blind)
#9D8D27
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8920;
/* rgb */ color: rgb(158, 137, 32);
/* oklch */ color: oklch(63.1% 0.120 97.1);
Tailwind
colors: {
  custom: {
    50: '#bfab65',
    500: '#9e8920',
    950: '#000000',
  },
}
SCSS
$custom: #9e8920;
$custom-light: #bfab65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8920",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 50,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63116,
    "c": 0.11992,
    "h": 97.1
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#9E8920
secondary
#586AC2
accent
#5BE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8920

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

Preview Lab → · Contrast checker → · Palette generator →

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