#8A882C#8A882C

#8A882C 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#8A882C
RGBrgb(138, 136, 44)
HSLhsl(59, 52%, 36%)
HSVhsv(59, 68%, 54%)
CMYKcmyk(0%, 1.4%, 68.1%, 45.9%)
CIE-LABlab(55.27, -11.10, 47.55)
CIE-LCHlch(55.27, 48.83, 103.14°)
OKLaboklab(61.06% -0.0349 0.1068)
OKLCHoklch(61.06% 0.112 108.1)
XYZxyz(19.7407, 23.1941, 5.8194)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882C #2C2E8A
analogous
#8A592C #8A882C #5D8A2C
triadic
#8A882C #2C8A88 #882C8A
tetradic
#8A882C #2C8A59 #2C2E8A #8A2C5D
square
#8A882C #2C8A59 #2C2E8A #8A2C5D
split-complementary
#8A882C #2C5D8A #592C8A
monochromatic
#2D2D0E #5C5A1D #8A882C #B8B63B #CDCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A882C#FFFFFF#000000##000000
##8A882C1.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)
#93831F
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882c;
/* rgb */ color: rgb(138, 136, 44);
/* oklch */ color: oklch(61.1% 0.112 108.1);
Tailwind
colors: {
  custom: {
    50: '#afaa6b',
    500: '#8a882c',
    950: '#000000',
  },
}
SCSS
$custom: #8a882c;
$custom-light: #afaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882c",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 58.723,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.1124,
    "h": 108.1
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#8A882C
secondary
#5E60B4
accent
#50DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882C

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

Preview Lab → · Contrast checker → · Palette generator →

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