#9E862A#9E862A

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

Color values

HEX#9E862A
RGBrgb(158, 134, 42)
HSLhsl(48, 58%, 39%)
HSVhsv(48, 73%, 62%)
CMYKcmyk(0%, 15.2%, 73.4%, 38%)
CIE-LABlab(56.57, -1.03, 50.30)
CIE-LCHlch(56.57, 50.31, 91.18°)
OKLaboklab(62.53% -0.0078 0.1116)
OKLCHoklch(62.53% 0.112 94)
XYZxyz(23.0448, 24.4878, 5.7028)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E862A #2A429E
analogous
#9E4C2A #9E862A #7C9E2A
triadic
#9E862A #2A9E86 #862A9E
tetradic
#9E862A #2A9E4C #2A429E #9E2A7C
square
#9E862A #2A9E4C #2A429E #9E2A7C
split-complementary
#9E862A #2A7C9E #4C2A9E
monochromatic
#3D3410 #6E5D1D #9E862A #CBAD3A #D8C16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E862A#FFFFFF#000000##000000
##9E862A1.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)
#94841C
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#AB7B74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e862a;
/* rgb */ color: rgb(158, 134, 42);
/* oklch */ color: oklch(62.5% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#bea86a',
    500: '#9e862a',
    950: '#000000',
  },
}
SCSS
$custom: #9e862a;
$custom-light: #bea86a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e862a",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 47.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62534,
    "c": 0.11184,
    "h": 94
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#9E862A
secondary
#6678BE
accent
#67E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E862A

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

Preview Lab → · Contrast checker → · Palette generator →

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