#9E891E#9E891E

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

Color values

HEX#9E891E
RGBrgb(158, 137, 30)
HSLhsl(50, 68%, 37%)
HSVhsv(50, 81%, 62%)
CMYKcmyk(0%, 13.3%, 81%, 38%)
CIE-LABlab(57.32, -3.20, 55.39)
CIE-LCHlch(57.32, 55.49, 93.31°)
OKLaboklab(63.11% -0.0152 0.12)
OKLCHoklch(63.11% 0.121 97.2)
XYZxyz(23.2818, 25.2554, 4.8765)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E891E #1E339E
analogous
#9E491E #9E891E #739E1E
triadic
#9E891E #1E9E89 #891E9E
tetradic
#9E891E #1E9E49 #1E339E #9E1E73
square
#9E891E #1E9E49 #1E339E #9E1E73
split-complementary
#9E891E #1E739E #491E9E
monochromatic
#37300A #6B5C14 #9E891E #D1B628 #DFC957

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E891E#FFFFFF#000000##000000
##9E891E1.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)
#988601
Deuteranopia (green-blind)
#9D8D26
Tritanopia (blue-blind)
#AB7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e891e;
/* rgb */ color: rgb(158, 137, 30);
/* oklch */ color: oklch(63.1% 0.121 97.2);
Tailwind
colors: {
  custom: {
    50: '#bfab64',
    500: '#9e891e',
    950: '#000000',
  },
}
SCSS
$custom: #9e891e;
$custom-light: #bfab64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e891e",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 50.156,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63105,
    "c": 0.12094,
    "h": 97.2
  },
  "luminance": 0.25254
}

Semantic roles & 50–950 ramp

primary
#9E891E
secondary
#5567C3
accent
#59EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E891E

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

Preview Lab → · Contrast checker → · Palette generator →

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