#9E851E#9E851E

#9E851E is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.118 H 94.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E851E
RGBrgb(158, 133, 30)
HSLhsl(48, 68%, 37%)
HSVhsv(48, 81%, 62%)
CMYKcmyk(0%, 15.8%, 81%, 38%)
CIE-LABlab(56.23, -1.00, 54.42)
CIE-LCHlch(56.23, 54.43, 91.05°)
OKLaboklab(62.24% -0.009 0.1179)
OKLCHoklch(62.24% 0.118 94.3)
XYZxyz(22.7237, 24.1392, 4.6905)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E851E #1E379E
analogous
#9E451E #9E851E #779E1E
triadic
#9E851E #1E9E85 #851E9E
tetradic
#9E851E #1E9E45 #1E379E #9E1E77
square
#9E851E #1E9E45 #1E379E #9E1E77
split-complementary
#9E851E #1E779E #451E9E
monochromatic
#372E0A #6B5A14 #9E851E #D1B028 #DFC557

Accessibility & contrast

On white

3.60
#9E851E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9E851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E851E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E851E#FFFFFF#000000##000000
##9E851E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#AB7A72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e851e;
/* rgb */ color: rgb(158, 133, 30);
/* oklch */ color: oklch(62.2% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#bfa864',
    500: '#9e851e',
    950: '#000000',
  },
}
SCSS
$custom: #9e851e;
$custom-light: #bfa864;
$custom-dark: #000000;
JSON
{
  "hex": "#9e851e",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 48.281,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.11821,
    "h": 94.3
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

primary
#9E851E
secondary
#556AC3
accent
#5FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E851E

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

Preview Lab → · Contrast checker → · Palette generator →

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