#9E831A#9E831A

#9E831A is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.8% C 0.119 H 93.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9E831A
RGBrgb(158, 131, 26)
HSLhsl(48, 72%, 36%)
HSVhsv(48, 84%, 62%)
CMYKcmyk(0%, 17.1%, 83.5%, 38%)
CIE-LABlab(55.66, -0.02, 55.20)
CIE-LCHlch(55.66, 55.20, 90.03°)
OKLaboklab(61.79% -0.0066 0.1187)
OKLCHoklch(61.79% 0.119 93.2)
XYZxyz(22.4046, 23.5777, 4.3480)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E831A #1A359E
analogous
#9E411A #9E831A #779E1A
triadic
#9E831A #1A9E83 #831A9E
tetradic
#9E831A #1A9E41 #1A359E #9E1A77
square
#9E831A #1A9E41 #1A359E #9E1A77
split-complementary
#9E831A #1A779E #411A9E
monochromatic
#352C09 #695711 #9E831A #D3AF23 #E2C450

Accessibility & contrast

On white

3.67
#9E831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#9E831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E831A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E831A#FFFFFF#000000##000000
##9E831A1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#998922
Tritanopia (blue-blind)
#AC7770
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9e831a;
/* rgb */ color: rgb(158, 131, 26);
/* oklch */ color: oklch(61.8% 0.119 93.2);
Tailwind
colors: {
  custom: {
    50: '#bfa662',
    500: '#9e831a',
    950: '#000000',
  },
}
SCSS
$custom: #9e831a;
$custom-light: #bfa662;
$custom-dark: #000000;
JSON
{
  "hex": "#9e831a",
  "rgb": {
    "r": 158,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 47.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.11887,
    "h": 93.2
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

primary
#9E831A
secondary
#4F67C5
accent
#5EEE39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #9E831A

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

Preview Lab → · Contrast checker → · Palette generator →

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