#8B812E#8B812E

#8B812E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.104 H 102.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8B812E
RGBrgb(139, 129, 46)
HSLhsl(54, 50%, 36%)
HSVhsv(54, 67%, 55%)
CMYKcmyk(0%, 7.2%, 66.9%, 45.5%)
CIE-LABlab(53.37, -6.70, 44.74)
CIE-LCHlch(53.37, 45.23, 98.52°)
OKLaboklab(59.57% -0.0223 0.1012)
OKLCHoklch(59.57% 0.104 102.4)
XYZxyz(18.9916, 21.3875, 5.7121)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B812E #2E388B
analogous
#8B532E #8B812E #678B2E
triadic
#8B812E #2E8B81 #812E8B
tetradic
#8B812E #2E8B53 #2E388B #8B2E67
square
#8B812E #2E8B53 #2E388B #8B2E67
split-complementary
#8B812E #2E678B #532E8B
monochromatic
#2F2C10 #5D561F #8B812E #B9AC3D #CDC267

Accessibility & contrast

On white

3.98
#8B812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8B812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B812E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B812E#FFFFFF#000000##000000
##8B812E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#957870
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b812e;
/* rgb */ color: rgb(139, 129, 46);
/* oklch */ color: oklch(59.6% 0.104 102.4);
Tailwind
colors: {
  custom: {
    50: '#b0a56b',
    500: '#8b812e',
    950: '#000000',
  },
}
SCSS
$custom: #8b812e;
$custom-light: #b0a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b812e",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 53.548,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.10364,
    "h": 102.4
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#8B812E
secondary
#616AB3
accent
#5DDA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B812E

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

Preview Lab → · Contrast checker → · Palette generator →

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