#8E731E#8E731E

#8E731E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.6% C 0.104 H 90.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E731E
RGBrgb(142, 115, 30)
HSLhsl(46, 65%, 34%)
HSVhsv(46, 79%, 56%)
CMYKcmyk(0%, 19%, 78.9%, 44.3%)
CIE-LABlab(49.63, 1.69, 47.79)
CIE-LCHlch(49.63, 47.82, 87.97°)
OKLaboklab(56.64% -0.0004 0.1045)
OKLCHoklch(56.64% 0.104 90.2)
XYZxyz(17.5214, 18.1071, 3.8002)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E731E #1E398E
analogous
#8E3B1E #8E731E #718E1E
triadic
#8E731E #1E8E73 #731E8E
tetradic
#8E731E #1E8E3B #1E398E #8E1E71
square
#8E731E #1E8E3B #1E398E #8E1E71
split-complementary
#8E731E #1E718E #3B1E8E
monochromatic
#292109 #5B4A13 #8E731E #C19C29 #D9B84D

Accessibility & contrast

On white

4.54
#8E731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8E731E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E731E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E731E#FFFFFF#000000##000000
##8E731E1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#9A6963
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e731e;
/* rgb */ color: rgb(142, 115, 30);
/* oklch */ color: oklch(56.6% 0.104 90.2);
Tailwind
colors: {
  custom: {
    50: '#b39a61',
    500: '#8e731e',
    950: '#000000',
  },
}
SCSS
$custom: #8e731e;
$custom-light: #b39a61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e731e",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 45.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.10446,
    "h": 90.2
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#8E731E
secondary
#4C67BC
accent
#68E840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E731E

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

Preview Lab → · Contrast checker → · Palette generator →

#8E731E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva