#8A852A#8A852A

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

Color values

HEX#8A852A
RGBrgb(138, 133, 42)
HSLhsl(57, 53%, 35%)
HSVhsv(57, 70%, 54%)
CMYKcmyk(0%, 3.6%, 69.6%, 45.9%)
CIE-LABlab(54.39, -9.60, 47.49)
CIE-LCHlch(54.39, 48.45, 101.42°)
OKLaboklab(60.35% -0.0309 0.1064)
OKLCHoklch(60.35% 0.111 106.2)
XYZxyz(19.2874, 22.3462, 5.4873)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A852A #2A2F8A
analogous
#8A552A #8A852A #5F8A2A
triadic
#8A852A #2A8A85 #852A8A
tetradic
#8A852A #2A8A55 #2A2F8A #8A2A5F
square
#8A852A #2A8A55 #2A2F8A #8A2A5F
split-complementary
#8A852A #2A5F8A #552A8A
monochromatic
#2C2B0D #5B581C #8A852A #B9B238 #CFC960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A852A#FFFFFF#000000##000000
##8A852A1.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)
#90801D
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a852a;
/* rgb */ color: rgb(138, 133, 42);
/* oklch */ color: oklch(60.4% 0.111 106.2);
Tailwind
colors: {
  custom: {
    50: '#afa869',
    500: '#8a852a',
    950: '#000000',
  },
}
SCSS
$custom: #8a852a;
$custom-light: #afa869;
$custom-dark: #000000;
JSON
{
  "hex": "#8a852a",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 56.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.11076,
    "h": 106.2
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#8A852A
secondary
#5B60B4
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A852A

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

Preview Lab → · Contrast checker → · Palette generator →

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