#8B731F#8B731F

#8B731F is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.103 H 92.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8B731F
RGBrgb(139, 115, 31)
HSLhsl(47, 64%, 33%)
HSVhsv(47, 78%, 55%)
CMYKcmyk(0%, 17.3%, 77.7%, 45.5%)
CIE-LABlab(49.31, 0.33, 47.00)
CIE-LCHlch(49.31, 47.00, 89.59°)
OKLaboklab(56.32% -0.004 0.1031)
OKLCHoklch(56.32% 0.103 92.2)
XYZxyz(17.0265, 17.8504, 3.8447)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B731F #1F378B
analogous
#8B3D1F #8B731F #6D8B1F
triadic
#8B731F #1F8B73 #731F8B
tetradic
#8B731F #1F8B3D #1F378B #8B1F6D
square
#8B731F #1F8B3D #1F378B #8B1F6D
split-complementary
#8B731F #1F6D8B #3D1F8B
monochromatic
#272009 #594A14 #8B731F #BD9C2A #D7B94D

Accessibility & contrast

On white

4.60
#8B731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B731F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B731F#FFFFFF#000000##FFFFFF
##8B731F1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#976963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b731f;
/* rgb */ color: rgb(139, 115, 31);
/* oklch */ color: oklch(56.3% 0.103 92.2);
Tailwind
colors: {
  custom: {
    50: '#b19a61',
    500: '#8b731f',
    950: '#000000',
  },
}
SCSS
$custom: #8b731f;
$custom-light: #b19a61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b731f",
  "rgb": {
    "r": 139,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 46.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56324,
    "c": 0.10322,
    "h": 92.2
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#8B731F
secondary
#4C64BA
accent
#66E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B731F

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

Preview Lab → · Contrast checker → · Palette generator →

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