#8A882E#8A882E

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

Color values

HEX#8A882E
RGBrgb(138, 136, 46)
HSLhsl(59, 50%, 36%)
HSVhsv(59, 67%, 54%)
CMYKcmyk(0%, 1.4%, 66.7%, 45.9%)
CIE-LABlab(55.29, -10.98, 46.71)
CIE-LCHlch(55.29, 47.98, 103.23°)
OKLaboklab(61.08% -0.0343 0.1054)
OKLCHoklch(61.08% 0.111 108)
XYZxyz(19.7792, 23.2095, 6.0222)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882E #2E308A
analogous
#8A5A2E #8A882E #5E8A2E
triadic
#8A882E #2E8A88 #882E8A
tetradic
#8A882E #2E8A5A #2E308A #8A2E5E
square
#8A882E #2E8A5A #2E308A #8A2E5E
split-complementary
#8A882E #2E5E8A #5A2E8A
monochromatic
#2E2E0F #5C5B1F #8A882E #B8B53D #CCCA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A882E#FFFFFF#000000##000000
##8A882E1.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)
#938322
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#947F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882e;
/* rgb */ color: rgb(138, 136, 46);
/* oklch */ color: oklch(61.1% 0.111 108.0);
Tailwind
colors: {
  custom: {
    50: '#afaa6c',
    500: '#8a882e',
    950: '#000000',
  },
}
SCSS
$custom: #8a882e;
$custom-light: #afaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882e",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 58.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.11086,
    "h": 108
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#8A882E
secondary
#6163B3
accent
#51DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882E

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

Preview Lab → · Contrast checker → · Palette generator →

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