#9E801F#9E801F

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

Color values

HEX#9E801F
RGBrgb(158, 128, 31)
HSLhsl(46, 67%, 37%)
HSVhsv(46, 80%, 62%)
CMYKcmyk(0%, 19%, 80.4%, 38%)
CIE-LABlab(54.87, 1.82, 52.86)
CIE-LCHlch(54.87, 52.90, 88.03°)
OKLaboklab(61.17% -0.0008 0.1147)
OKLCHoklch(61.17% 0.115 90.4)
XYZxyz(22.0684, 22.8078, 4.5361)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E801F #1F3D9E
analogous
#9E411F #9E801F #7D9E1F
triadic
#9E801F #1F9E80 #801F9E
tetradic
#9E801F #1F9E41 #1F3D9E #9E1F7D
square
#9E801F #1F9E41 #1F3D9E #9E1F7D
split-complementary
#9E801F #1F7D9E #411F9E
monochromatic
#382D0B #6B5715 #9E801F #D1A929 #DEBF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E801F#FFFFFF#000000##000000
##9E801F1.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)
#8F7E09
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#AC746E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e801f;
/* rgb */ color: rgb(158, 128, 31);
/* oklch */ color: oklch(61.2% 0.115 90.4);
Tailwind
colors: {
  custom: {
    50: '#bfa463',
    500: '#9e801f',
    950: '#000000',
  },
}
SCSS
$custom: #9e801f;
$custom-light: #bfa463;
$custom-dark: #000000;
JSON
{
  "hex": "#9e801f",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 45.827,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.11474,
    "h": 90.4
  },
  "luminance": 0.22806
}

Semantic roles & 50–950 ramp

primary
#9E801F
secondary
#5670C2
accent
#66EA3E
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E801F

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

Preview Lab → · Contrast checker → · Palette generator →

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