#9E871E#9E871E

#9E871E is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.7% C 0.120 H 95.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9E871E
RGBrgb(158, 135, 30)
HSLhsl(49, 68%, 37%)
HSVhsv(49, 81%, 62%)
CMYKcmyk(0%, 14.6%, 81%, 38%)
CIE-LABlab(56.77, -2.10, 54.91)
CIE-LCHlch(56.77, 54.95, 92.19°)
OKLaboklab(62.67% -0.0121 0.1189)
OKLCHoklch(62.67% 0.12 95.8)
XYZxyz(23.0001, 24.6921, 4.7826)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E871E #1E359E
analogous
#9E471E #9E871E #759E1E
triadic
#9E871E #1E9E87 #871E9E
tetradic
#9E871E #1E9E47 #1E359E #9E1E75
square
#9E871E #1E9E47 #1E359E #9E1E75
split-complementary
#9E871E #1E759E #471E9E
monochromatic
#372F0A #6B5B14 #9E871E #D1B328 #DFC757

Accessibility & contrast

On white

3.54
#9E871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9E871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E871E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E871E#FFFFFF#000000##000000
##9E871E1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#AB7C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e871e;
/* rgb */ color: rgb(158, 135, 30);
/* oklch */ color: oklch(62.7% 0.120 95.8);
Tailwind
colors: {
  custom: {
    50: '#bfa964',
    500: '#9e871e',
    950: '#000000',
  },
}
SCSS
$custom: #9e871e;
$custom-light: #bfa964;
$custom-dark: #000000;
JSON
{
  "hex": "#9e871e",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 49.219,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.11953,
    "h": 95.8
  },
  "luminance": 0.24691
}

Semantic roles & 50–950 ramp

primary
#9E871E
secondary
#5569C3
accent
#5CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E871E

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

Preview Lab → · Contrast checker → · Palette generator →

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