#9E801A#9E801A

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

Color values

HEX#9E801A
RGBrgb(158, 128, 26)
HSLhsl(46, 72%, 36%)
HSVhsv(46, 84%, 62%)
CMYKcmyk(0%, 19%, 83.5%, 38%)
CIE-LABlab(54.85, 1.65, 54.49)
CIE-LCHlch(54.85, 54.52, 88.27°)
OKLaboklab(61.14% -0.0018 0.1172)
OKLCHoklch(61.14% 0.117 90.9)
XYZxyz(22.0075, 22.7835, 4.2156)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E801A #1A389E
analogous
#9E3E1A #9E801A #7A9E1A
triadic
#9E801A #1A9E80 #801A9E
tetradic
#9E801A #1A9E3E #1A389E #9E1A7A
square
#9E801A #1A9E3E #1A389E #9E1A7A
split-complementary
#9E801A #1A7A9E #3E1A9E
monochromatic
#352B09 #695511 #9E801A #D3AB23 #E2C150

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E801A#FFFFFF#000000##000000
##9E801A1.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)
#978721
Tritanopia (blue-blind)
#AC746D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e801a;
/* rgb */ color: rgb(158, 128, 26);
/* oklch */ color: oklch(61.1% 0.117 90.9);
Tailwind
colors: {
  custom: {
    50: '#bfa461',
    500: '#9e801a',
    950: '#000000',
  },
}
SCSS
$custom: #9e801a;
$custom-light: #bfa461;
$custom-dark: #000000;
JSON
{
  "hex": "#9e801a",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 46.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.11717,
    "h": 90.9
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#9E801A
secondary
#4F6AC5
accent
#62EE39
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E801A

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

Preview Lab → · Contrast checker → · Palette generator →

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