#8B842E#8B842E

#8B842E is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.107 H 104.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8B842E
RGBrgb(139, 132, 46)
HSLhsl(55, 50%, 36%)
HSVhsv(55, 67%, 55%)
CMYKcmyk(0%, 5%, 66.9%, 45.5%)
CIE-LABlab(54.23, -8.35, 45.63)
CIE-LCHlch(54.23, 46.39, 100.37°)
OKLaboklab(60.25% -0.027 0.1031)
OKLCHoklch(60.25% 0.107 104.7)
XYZxyz(19.3926, 22.1895, 5.8457)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B842E #2E358B
analogous
#8B562E #8B842E #648B2E
triadic
#8B842E #2E8B84 #842E8B
tetradic
#8B842E #2E8B56 #2E358B #8B2E64
square
#8B842E #2E8B56 #2E358B #8B2E64
split-complementary
#8B842E #2E648B #562E8B
monochromatic
#2F2D10 #5D581F #8B842E #B9B03D #CDC567

Accessibility & contrast

On white

3.86
#8B842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8B842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B842E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B842E#FFFFFF#000000##000000
##8B842E1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#957B72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8b842e;
/* rgb */ color: rgb(139, 132, 46);
/* oklch */ color: oklch(60.3% 0.107 104.7);
Tailwind
colors: {
  custom: {
    50: '#b0a76b',
    500: '#8b842e',
    950: '#000000',
  },
}
SCSS
$custom: #8b842e;
$custom-light: #b0a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b842e",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 55.484,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.10658,
    "h": 104.7
  },
  "luminance": 0.22189
}

Semantic roles & 50–950 ramp

primary
#8B842E
secondary
#6168B3
accent
#59DA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B842E

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

Preview Lab → · Contrast checker → · Palette generator →

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