#8A852C#8A852C

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

Color values

HEX#8A852C
RGBrgb(138, 133, 44)
HSLhsl(57, 52%, 36%)
HSVhsv(57, 68%, 54%)
CMYKcmyk(0%, 3.6%, 68.1%, 45.9%)
CIE-LABlab(54.41, -9.48, 46.66)
CIE-LCHlch(54.41, 47.61, 101.48°)
OKLaboklab(60.37% -0.0303 0.105)
OKLCHoklch(60.37% 0.109 106.1)
XYZxyz(19.3241, 22.3608, 5.6805)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A852C #2C318A
analogous
#8A562C #8A852C #608A2C
triadic
#8A852C #2C8A85 #852C8A
tetradic
#8A852C #2C8A56 #2C318A #8A2C60
square
#8A852C #2C8A56 #2C318A #8A2C60
split-complementary
#8A852C #2C608A #562C8A
monochromatic
#2D2C0E #5C581D #8A852C #B8B23B #CDC863

Accessibility & contrast

On white

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

On black

5.47
#8A852C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A852C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A852C#FFFFFF#000000##000000
##8A852C1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a852c;
/* rgb */ color: rgb(138, 133, 44);
/* oklch */ color: oklch(60.4% 0.109 106.1);
Tailwind
colors: {
  custom: {
    50: '#afa86a',
    500: '#8a852c',
    950: '#000000',
  },
}
SCSS
$custom: #8a852c;
$custom-light: #afa86a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a852c",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 56.809,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.10926,
    "h": 106.1
  },
  "luminance": 0.2236
}

Semantic roles & 50–950 ramp

primary
#8A852C
secondary
#5E63B4
accent
#54DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A852C

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

Preview Lab → · Contrast checker → · Palette generator →

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