#8A862C#8A862C

#8A862C is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.110 H 106.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A862C
RGBrgb(138, 134, 44)
HSLhsl(57, 52%, 36%)
HSVhsv(57, 68%, 54%)
CMYKcmyk(0%, 2.9%, 68.1%, 45.9%)
CIE-LABlab(54.70, -10.02, 46.96)
CIE-LCHlch(54.70, 48.01, 102.04°)
OKLaboklab(60.6% -0.0319 0.1056)
OKLCHoklch(60.6% 0.11 106.8)
XYZxyz(19.4617, 22.6360, 5.7264)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A862C #2C308A
analogous
#8A572C #8A862C #5F8A2C
triadic
#8A862C #2C8A86 #862C8A
tetradic
#8A862C #2C8A57 #2C308A #8A2C5F
square
#8A862C #2C8A57 #2C308A #8A2C5F
split-complementary
#8A862C #2C5F8A #572C8A
monochromatic
#2D2C0E #5C591D #8A862C #B8B33B #CDC963

Accessibility & contrast

On white

3.80
#8A862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A862C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A862C#FFFFFF#000000##000000
##8A862C1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#938532
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a862c;
/* rgb */ color: rgb(138, 134, 44);
/* oklch */ color: oklch(60.6% 0.110 106.8);
Tailwind
colors: {
  custom: {
    50: '#afa96a',
    500: '#8a862c',
    950: '#000000',
  },
}
SCSS
$custom: #8a862c;
$custom-light: #afa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a862c",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 57.447,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.606,
    "c": 0.11029,
    "h": 106.8
  },
  "luminance": 0.22635
}

Semantic roles & 50–950 ramp

primary
#8A862C
secondary
#5E62B4
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A862C

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

Preview Lab → · Contrast checker → · Palette generator →

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