#8A882D#8A882D

#8A882D is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.112 H 108.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A882D
RGBrgb(138, 136, 45)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 67%, 54%)
CMYKcmyk(0%, 1.4%, 67.4%, 45.9%)
CIE-LABlab(55.28, -11.04, 47.13)
CIE-LCHlch(55.28, 48.41, 103.18°)
OKLaboklab(61.07% -0.0346 0.1061)
OKLCHoklch(61.07% 0.112 108.1)
XYZxyz(19.7597, 23.2017, 5.9196)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882D #2D2F8A
analogous
#8A592D #8A882D #5D8A2D
triadic
#8A882D #2D8A88 #882D8A
tetradic
#8A882D #2D8A59 #2D2F8A #8A2D5D
square
#8A882D #2D8A59 #2D2F8A #8A2D5D
split-complementary
#8A882D #2D5D8A #592D8A
monochromatic
#2E2D0F #5C5B1E #8A882D #B8B53C #CDCA65

Accessibility & contrast

On white

3.72
#8A882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A882D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A882D#FFFFFF#000000##000000
##8A882D1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938320
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882d;
/* rgb */ color: rgb(138, 136, 45);
/* oklch */ color: oklch(61.1% 0.112 108.1);
Tailwind
colors: {
  custom: {
    50: '#afaa6b',
    500: '#8a882d',
    950: '#000000',
  },
}
SCSS
$custom: #8a882d;
$custom-light: #afaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882d",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 58.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.11164,
    "h": 108.1
  },
  "luminance": 0.23201
}

Semantic roles & 50–950 ramp

primary
#8A882D
secondary
#6061B3
accent
#51DA4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882D

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

Preview Lab → · Contrast checker → · Palette generator →

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