#8A852E#8A852E

#8A852E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.108 H 106.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A852E
RGBrgb(138, 133, 46)
HSLhsl(57, 50%, 36%)
HSVhsv(57, 67%, 54%)
CMYKcmyk(0%, 3.6%, 66.7%, 45.9%)
CIE-LABlab(54.42, -9.35, 45.81)
CIE-LCHlch(54.42, 46.75, 101.54°)
OKLaboklab(60.39% -0.0297 0.1035)
OKLCHoklch(60.39% 0.108 106)
XYZxyz(19.3626, 22.3763, 5.8833)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A852E #2E338A
analogous
#8A572E #8A852E #618A2E
triadic
#8A852E #2E8A85 #852E8A
tetradic
#8A852E #2E8A57 #2E338A #8A2E61
square
#8A852E #2E8A57 #2E338A #8A2E61
split-complementary
#8A852E #2E618A #572E8A
monochromatic
#2E2D0F #5C591F #8A852E #B8B13D #CCC766

Accessibility & contrast

On white

3.84
#8A852E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8A852E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A852E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A852E#FFFFFF#000000##000000
##8A852E1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#928433
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a852e;
/* rgb */ color: rgb(138, 133, 46);
/* oklch */ color: oklch(60.4% 0.108 106.0);
Tailwind
colors: {
  custom: {
    50: '#afa86c',
    500: '#8a852e',
    950: '#000000',
  },
}
SCSS
$custom: #8a852e;
$custom-light: #afa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a852e",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 46
  },
  "hsl": {
    "h": 56.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.1077,
    "h": 106
  },
  "luminance": 0.22376
}

Semantic roles & 50–950 ramp

primary
#8A852E
secondary
#6165B3
accent
#56DA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A852E

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

Preview Lab → · Contrast checker → · Palette generator →

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