#9E891F#9E891F

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

Color values

HEX#9E891F
RGBrgb(158, 137, 31)
HSLhsl(50, 67%, 37%)
HSVhsv(50, 80%, 62%)
CMYKcmyk(0%, 13.3%, 80.4%, 38%)
CIE-LABlab(57.33, -3.17, 55.07)
CIE-LCHlch(57.33, 55.16, 93.29°)
OKLaboklab(63.11% -0.015 0.1195)
OKLCHoklch(63.11% 0.12 97.2)
XYZxyz(23.2948, 25.2606, 4.9449)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E891F #1F349E
analogous
#9E4A1F #9E891F #749E1F
triadic
#9E891F #1F9E89 #891F9E
tetradic
#9E891F #1F9E4A #1F349E #9E1F74
square
#9E891F #1F9E4A #1F349E #9E1F74
split-complementary
#9E891F #1F749E #4A1F9E
monochromatic
#38300B #6B5D15 #9E891F #D1B529 #DEC859

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E891F#FFFFFF#000000##000000
##9E891F1.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)
#988603
Deuteranopia (green-blind)
#9D8D27
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e891f;
/* rgb */ color: rgb(158, 137, 31);
/* oklch */ color: oklch(63.1% 0.120 97.2);
Tailwind
colors: {
  custom: {
    50: '#bfab65',
    500: '#9e891f',
    950: '#000000',
  },
}
SCSS
$custom: #9e891f;
$custom-light: #bfab65;
$custom-dark: #000000;
JSON
{
  "hex": "#9e891f",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 50.079,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6311,
    "c": 0.12043,
    "h": 97.2
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#9E891F
secondary
#5668C2
accent
#5AEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E891F

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

Preview Lab → · Contrast checker → · Palette generator →

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