#8E731D#8E731D

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

Color values

HEX#8E731D
RGBrgb(142, 115, 29)
HSLhsl(46, 66%, 34%)
HSVhsv(46, 80%, 56%)
CMYKcmyk(0%, 19%, 79.6%, 44.3%)
CIE-LABlab(49.62, 1.65, 48.16)
CIE-LCHlch(49.62, 48.19, 88.03°)
OKLaboklab(56.63% -0.0006 0.105)
OKLCHoklch(56.63% 0.105 90.3)
XYZxyz(17.5089, 18.1021, 3.7340)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E731D #1D388E
analogous
#8E3A1D #8E731D #708E1D
triadic
#8E731D #1D8E73 #731D8E
tetradic
#8E731D #1D8E3A #1D388E #8E1D70
square
#8E731D #1D8E3A #1D388E #8E1D70
split-complementary
#8E731D #1D708E #3A1D8E
monochromatic
#282108 #5B4A13 #8E731D #C19C27 #DAB84B

Accessibility & contrast

On white

4.55
#8E731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E731D#FFFFFF#000000##000000
##8E731D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e731d;
/* rgb */ color: rgb(142, 115, 29);
/* oklch */ color: oklch(56.6% 0.105 90.3);
Tailwind
colors: {
  custom: {
    50: '#b39a60',
    500: '#8e731d',
    950: '#000000',
  },
}
SCSS
$custom: #8e731d;
$custom-light: #b39a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8e731d",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 45.664,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.10504,
    "h": 90.3
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#8E731D
secondary
#4A66BD
accent
#67E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E731D

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

Preview Lab → · Contrast checker → · Palette generator →

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