#8A731E#8A731E

#8A731E is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.2% C 0.104 H 93.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A731E
RGBrgb(138, 115, 30)
HSLhsl(47, 64%, 33%)
HSVhsv(47, 78%, 54%)
CMYKcmyk(0%, 16.7%, 78.3%, 45.9%)
CIE-LABlab(49.20, -0.18, 47.24)
CIE-LCHlch(49.20, 47.24, 90.22°)
OKLaboklab(56.21% -0.0055 0.1035)
OKLCHoklch(56.21% 0.104 93.1)
XYZxyz(16.8473, 17.7595, 3.7686)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A731E #1E358A
analogous
#8A3D1E #8A731E #6B8A1E
triadic
#8A731E #1E8A73 #731E8A
tetradic
#8A731E #1E8A3D #1E358A #8A1E6B
square
#8A731E #1E8A3D #1E358A #8A1E6B
split-complementary
#8A731E #1E6B8A #3D1E8A
monochromatic
#251F08 #584913 #8A731E #BC9D29 #D8BA4B

Accessibility & contrast

On white

4.61
#8A731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8A731E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A731E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A731E#FFFFFF#000000##FFFFFF
##8A731E1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#966963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a731e;
/* rgb */ color: rgb(138, 115, 30);
/* oklch */ color: oklch(56.2% 0.104 93.1);
Tailwind
colors: {
  custom: {
    50: '#b09a61',
    500: '#8a731e',
    950: '#000000',
  },
}
SCSS
$custom: #8a731e;
$custom-light: #b09a61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a731e",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 47.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.10364,
    "h": 93.1
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#8A731E
secondary
#4A62BA
accent
#64E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A731E

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

Preview Lab → · Contrast checker → · Palette generator →

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