#8A882A#8A882A

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

Color values

HEX#8A882A
RGBrgb(138, 136, 42)
HSLhsl(59, 53%, 35%)
HSVhsv(59, 70%, 54%)
CMYKcmyk(0%, 1.4%, 69.6%, 45.9%)
CIE-LABlab(55.26, -11.22, 48.36)
CIE-LCHlch(55.26, 49.65, 103.06°)
OKLaboklab(61.04% -0.0355 0.1082)
OKLCHoklch(61.04% 0.114 108.1)
XYZxyz(19.7040, 23.1794, 5.6262)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882A #2A2C8A
analogous
#8A582A #8A882A #5C8A2A
triadic
#8A882A #2A8A88 #882A8A
tetradic
#8A882A #2A8A58 #2A2C8A #8A2A5C
square
#8A882A #2A8A58 #2A2C8A #8A2A5C
split-complementary
#8A882A #2A5C8A #582A8A
monochromatic
#2C2C0D #5B5A1C #8A882A #B9B638 #CFCC60

Accessibility & contrast

On white

3.73
#8A882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A882A#FFFFFF#000000##000000
##8A882A1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882a;
/* rgb */ color: rgb(138, 136, 42);
/* oklch */ color: oklch(61.0% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#afaa6a',
    500: '#8a882a',
    950: '#000000',
  },
}
SCSS
$custom: #8a882a;
$custom-light: #afaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882a",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 58.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.11388,
    "h": 108.1
  },
  "luminance": 0.23179
}

Semantic roles & 50–950 ramp

primary
#8A882A
secondary
#5B5DB4
accent
#4EDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882A

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

Preview Lab → · Contrast checker → · Palette generator →

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