#8E731A#8E731A

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

Color values

HEX#8E731A
RGBrgb(142, 115, 26)
HSLhsl(46, 69%, 33%)
HSVhsv(46, 82%, 56%)
CMYKcmyk(0%, 19%, 81.7%, 44.3%)
CIE-LABlab(49.60, 1.53, 49.23)
CIE-LCHlch(49.60, 49.25, 88.21°)
OKLaboklab(56.62% -0.0013 0.1067)
OKLCHoklch(56.62% 0.107 90.7)
XYZxyz(17.4736, 18.0880, 3.5481)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E731A #1A358E
analogous
#8E391A #8E731A #6F8E1A
triadic
#8E731A #1A8E73 #731A8E
tetradic
#8E731A #1A8E39 #1A358E #8E1A6F
square
#8E731A #1A8E39 #1A358E #8E1A6F
split-complementary
#8E731A #1A6F8E #391A8E
monochromatic
#271F07 #5A4911 #8E731A #C29D23 #DDBA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E731A#FFFFFF#000000##000000
##8E731A1.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)
#817205
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#9A6962
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e731a;
/* rgb */ color: rgb(142, 115, 26);
/* oklch */ color: oklch(56.6% 0.107 90.7);
Tailwind
colors: {
  custom: {
    50: '#b39a5f',
    500: '#8e731a',
    950: '#000000',
  },
}
SCSS
$custom: #8e731a;
$custom-light: #b39a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e731a",
  "rgb": {
    "r": 142,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 46.034,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.10667,
    "h": 90.7
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#8E731A
secondary
#4562BE
accent
#65EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8E731A

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

Preview Lab → · Contrast checker → · Palette generator →

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