#9E881A#9E881A

#9E881A is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.122 H 96.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E881A
RGBrgb(158, 136, 26)
HSLhsl(50, 72%, 36%)
HSVhsv(50, 84%, 62%)
CMYKcmyk(0%, 13.9%, 83.5%, 38%)
CIE-LABlab(57.03, -2.79, 56.37)
CIE-LCHlch(57.03, 56.44, 92.83°)
OKLaboklab(62.87% -0.0144 0.1213)
OKLCHoklch(62.87% 0.122 96.8)
XYZxyz(23.0924, 24.9533, 4.5772)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E881A #1A309E
analogous
#9E461A #9E881A #729E1A
triadic
#9E881A #1A9E88 #881A9E
tetradic
#9E881A #1A9E46 #1A309E #9E1A72
square
#9E881A #1A9E46 #1A309E #9E1A72
split-complementary
#9E881A #1A729E #461A9E
monochromatic
#352E09 #695B11 #9E881A #D3B523 #E2CA50

Accessibility & contrast

On white

3.51
#9E881A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9E881A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E881A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E881A#FFFFFF#000000##000000
##9E881A1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#AB7D74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e881a;
/* rgb */ color: rgb(158, 136, 26);
/* oklch */ color: oklch(62.9% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#bfaa62',
    500: '#9e881a',
    950: '#000000',
  },
}
SCSS
$custom: #9e881a;
$custom-light: #bfaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#9e881a",
  "rgb": {
    "r": 158,
    "g": 136,
    "b": 26
  },
  "hsl": {
    "h": 50,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62866,
    "c": 0.12211,
    "h": 96.8
  },
  "luminance": 0.24952
}

Semantic roles & 50–950 ramp

primary
#9E881A
secondary
#4F63C5
accent
#58EE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E881A

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

Preview Lab → · Contrast checker → · Palette generator →

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