#9E831E#9E831E

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

Color values

HEX#9E831E
RGBrgb(158, 131, 30)
HSLhsl(47, 68%, 37%)
HSVhsv(47, 81%, 62%)
CMYKcmyk(0%, 17.1%, 81%, 38%)
CIE-LABlab(55.68, 0.11, 53.93)
CIE-LCHlch(55.68, 53.93, 89.88°)
OKLaboklab(61.81% -0.0058 0.1168)
OKLCHoklch(61.81% 0.117 92.8)
XYZxyz(22.4525, 23.5968, 4.6001)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E831E #1E399E
analogous
#9E431E #9E831E #799E1E
triadic
#9E831E #1E9E83 #831E9E
tetradic
#9E831E #1E9E43 #1E399E #9E1E79
square
#9E831E #1E9E43 #1E399E #9E1E79
split-complementary
#9E831E #1E799E #431E9E
monochromatic
#372E0A #6B5814 #9E831E #D1AE28 #DFC257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E831E#FFFFFF#000000##000000
##9E831E1.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)
#928105
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#AB7870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9e831e;
/* rgb */ color: rgb(158, 131, 30);
/* oklch */ color: oklch(61.8% 0.117 92.8);
Tailwind
colors: {
  custom: {
    50: '#bfa663',
    500: '#9e831e',
    950: '#000000',
  },
}
SCSS
$custom: #9e831e;
$custom-light: #bfa663;
$custom-dark: #000000;
JSON
{
  "hex": "#9e831e",
  "rgb": {
    "r": 158,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 47.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.11696,
    "h": 92.8
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#9E831E
secondary
#556CC3
accent
#62EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E831E

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

Preview Lab → · Contrast checker → · Palette generator →

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