#9E8019#9E8019

#9E8019 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.118 H 91.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9E8019
RGBrgb(158, 128, 25)
HSLhsl(46, 73%, 36%)
HSVhsv(46, 84%, 62%)
CMYKcmyk(0%, 19%, 84.2%, 38%)
CIE-LABlab(54.84, 1.62, 54.80)
CIE-LCHlch(54.84, 54.82, 88.31°)
OKLaboklab(61.14% -0.002 0.1176)
OKLCHoklch(61.14% 0.118 91)
XYZxyz(21.9965, 22.7791, 4.1577)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8019 #19379E
analogous
#9E3D19 #9E8019 #799E19
triadic
#9E8019 #199E80 #80199E
tetradic
#9E8019 #199E3D #19379E #9E1979
square
#9E8019 #199E3D #19379E #9E1979
split-complementary
#9E8019 #19799E #3D199E
monochromatic
#342A08 #695511 #9E8019 #D3AB21 #E3C24E

Accessibility & contrast

On white

3.78
#9E8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9E8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8019
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8019#FFFFFF#000000##000000
##9E80191.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#978720
Tritanopia (blue-blind)
#AC746D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e8019;
/* rgb */ color: rgb(158, 128, 25);
/* oklch */ color: oklch(61.1% 0.118 91.0);
Tailwind
colors: {
  custom: {
    50: '#bfa461',
    500: '#9e8019',
    950: '#000000',
  },
}
SCSS
$custom: #9e8019;
$custom-light: #bfa461;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8019",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 46.466,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.11762,
    "h": 91
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#9E8019
secondary
#4E69C5
accent
#62EF38
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E8019

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

Preview Lab → · Contrast checker → · Palette generator →

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