#8A882B#8A882B

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

Color values

HEX#8A882B
RGBrgb(138, 136, 43)
HSLhsl(59, 52%, 35%)
HSVhsv(59, 69%, 54%)
CMYKcmyk(0%, 1.4%, 68.8%, 45.9%)
CIE-LABlab(55.26, -11.16, 47.96)
CIE-LCHlch(55.26, 49.24, 103.10°)
OKLaboklab(61.05% -0.0352 0.1075)
OKLCHoklch(61.05% 0.113 108.1)
XYZxyz(19.7221, 23.1866, 5.7216)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882B #2B2D8A
analogous
#8A582B #8A882B #5C8A2B
triadic
#8A882B #2B8A88 #882B8A
tetradic
#8A882B #2B8A58 #2B2D8A #8A2B5C
square
#8A882B #2B8A58 #2B2D8A #8A2B5C
split-complementary
#8A882B #2B5C8A #582B8A
monochromatic
#2D2C0E #5B5A1C #8A882B #B9B63A #CECC61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A882B#FFFFFF#000000##000000
##8A882B1.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)
#93821D
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882b;
/* rgb */ color: rgb(138, 136, 43);
/* oklch */ color: oklch(61.1% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#afaa6a',
    500: '#8a882b',
    950: '#000000',
  },
}
SCSS
$custom: #8a882b;
$custom-light: #afaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882b",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 58.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.11314,
    "h": 108.1
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#8A882B
secondary
#5D5FB4
accent
#4FDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882B

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

Preview Lab → · Contrast checker → · Palette generator →

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