#9E8919#9E8919

#9E8919 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 63.1% C 0.123 H 97.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E8919
RGBrgb(158, 137, 25)
HSLhsl(51, 73%, 36%)
HSVhsv(51, 84%, 62%)
CMYKcmyk(0%, 13.3%, 84.2%, 38%)
CIE-LABlab(57.30, -3.37, 56.89)
CIE-LCHlch(57.30, 56.99, 93.39°)
OKLaboklab(63.08% -0.0161 0.1222)
OKLCHoklch(63.08% 0.123 97.5)
XYZxyz(23.2229, 25.2319, 4.5666)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8919 #192E9E
analogous
#9E4619 #9E8919 #709E19
triadic
#9E8919 #199E89 #89199E
tetradic
#9E8919 #199E46 #192E9E #9E1970
square
#9E8919 #199E46 #192E9E #9E1970
split-complementary
#9E8919 #19709E #46199E
monochromatic
#342D08 #695B11 #9E8919 #D3B721 #E3CC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8919#FFFFFF#000000##000000
##9E89191.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)
#988600
Deuteranopia (green-blind)
#9D8D22
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8919;
/* rgb */ color: rgb(158, 137, 25);
/* oklch */ color: oklch(63.1% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#bfab62',
    500: '#9e8919',
    950: '#000000',
  },
}
SCSS
$custom: #9e8919;
$custom-light: #bfab62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8919",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 50.526,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.12324,
    "h": 97.5
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#9E8919
secondary
#4E60C5
accent
#55EF38
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8919

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

Preview Lab → · Contrast checker → · Palette generator →

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