#9E881F#9E881F

#9E881F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.120 H 96.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9E881F
RGBrgb(158, 136, 31)
HSLhsl(50, 67%, 37%)
HSVhsv(50, 80%, 62%)
CMYKcmyk(0%, 13.9%, 80.4%, 38%)
CIE-LABlab(57.05, -2.62, 54.83)
CIE-LCHlch(57.05, 54.89, 92.73°)
OKLaboklab(62.89% -0.0135 0.119)
OKLCHoklch(62.89% 0.12 96.5)
XYZxyz(23.1533, 24.9776, 4.8977)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E881F #1F359E
analogous
#9E481F #9E881F #759E1F
triadic
#9E881F #1F9E88 #881F9E
tetradic
#9E881F #1F9E48 #1F359E #9E1F75
square
#9E881F #1F9E48 #1F359E #9E1F75
split-complementary
#9E881F #1F759E #481F9E
monochromatic
#38300B #6B5C15 #9E881F #D1B429 #DEC759

Accessibility & contrast

On white

3.50
#9E881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9E881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E881F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E881F#FFFFFF#000000##000000
##9E881F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e881f;
/* rgb */ color: rgb(158, 136, 31);
/* oklch */ color: oklch(62.9% 0.120 96.5);
Tailwind
colors: {
  custom: {
    50: '#bfaa64',
    500: '#9e881f',
    950: '#000000',
  },
}
SCSS
$custom: #9e881f;
$custom-light: #bfaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e881f",
  "rgb": {
    "r": 158,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 49.606,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62893,
    "c": 0.11972,
    "h": 96.5
  },
  "luminance": 0.24976
}

Semantic roles & 50–950 ramp

primary
#9E881F
secondary
#5669C2
accent
#5CEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E881F

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

Preview Lab → · Contrast checker → · Palette generator →

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