#9E862B#9E862B

#9E862B is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.111 H 93.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9E862B
RGBrgb(158, 134, 43)
HSLhsl(47, 57%, 39%)
HSVhsv(47, 73%, 62%)
CMYKcmyk(0%, 15.2%, 72.8%, 38%)
CIE-LABlab(56.58, -0.98, 49.89)
CIE-LCHlch(56.58, 49.90, 91.13°)
OKLaboklab(62.54% -0.0075 0.1109)
OKLCHoklch(62.54% 0.111 93.9)
XYZxyz(23.0629, 24.4950, 5.7983)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E862B #2B439E
analogous
#9E4C2B #9E862B #7D9E2B
triadic
#9E862B #2B9E86 #862B9E
tetradic
#9E862B #2B9E4C #2B439E #9E2B7D
square
#9E862B #2B9E4C #2B439E #9E2B7D
split-complementary
#9E862B #2B7D9E #4C2B9E
monochromatic
#3E3411 #6E5D1E #9E862B #CAAC3C #D7C16C

Accessibility & contrast

On white

3.56
#9E862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9E862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E862B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E862B#FFFFFF#000000##000000
##9E862B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94841D
Deuteranopia (green-blind)
#9A8B30
Tritanopia (blue-blind)
#AB7B74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e862b;
/* rgb */ color: rgb(158, 134, 43);
/* oklch */ color: oklch(62.5% 0.111 93.9);
Tailwind
colors: {
  custom: {
    50: '#bea86a',
    500: '#9e862b',
    950: '#000000',
  },
}
SCSS
$custom: #9e862b;
$custom-light: #bea86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e862b",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 47.478,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62542,
    "c": 0.11117,
    "h": 93.9
  },
  "luminance": 0.24494
}

Semantic roles & 50–950 ramp

primary
#9E862B
secondary
#6779BE
accent
#67E047
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E862B

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

Preview Lab → · Contrast checker → · Palette generator →

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