#8B891E#8B891E

#8B891E is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.122 H 108.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B891E
RGBrgb(139, 137, 30)
HSLhsl(59, 64%, 33%)
HSVhsv(59, 78%, 55%)
CMYKcmyk(0%, 1.4%, 78.4%, 45.5%)
CIE-LABlab(55.56, -11.90, 53.15)
CIE-LCHlch(55.56, 54.46, 102.62°)
OKLaboklab(61.28% -0.0386 0.116)
OKLCHoklch(61.28% 0.122 108.4)
XYZxyz(19.8282, 23.4747, 4.7146)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B891E #1E208B
analogous
#8B521E #8B891E #568B1E
triadic
#8B891E #1E8B89 #891E8B
tetradic
#8B891E #1E8B52 #1E208B #8B1E56
square
#8B891E #1E8B52 #1E208B #8B1E56
split-complementary
#8B891E #1E568B #521E8B
monochromatic
#262608 #595713 #8B891E #BDBB29 #D8D64B

Accessibility & contrast

On white

3.69
#8B891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8B891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B891E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B891E#FFFFFF#000000##000000
##8B891E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#968727
Tritanopia (blue-blind)
#958075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b891e;
/* rgb */ color: rgb(139, 137, 30);
/* oklch */ color: oklch(61.3% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#b0ab64',
    500: '#8b891e',
    950: '#000000',
  },
}
SCSS
$custom: #8b891e;
$custom-light: #b0ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b891e",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 58.899,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.1223,
    "h": 108.4
  },
  "luminance": 0.23474
}

Semantic roles & 50–950 ramp

primary
#8B891E
secondary
#4A4CBB
accent
#43E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B891E

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

Preview Lab → · Contrast checker → · Palette generator →

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