#8A882F#8A882F

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

Color values

HEX#8A882F
RGBrgb(138, 136, 47)
HSLhsl(59, 49%, 36%)
HSVhsv(59, 66%, 54%)
CMYKcmyk(0%, 1.4%, 65.9%, 45.9%)
CIE-LABlab(55.30, -10.91, 46.28)
CIE-LCHlch(55.30, 47.55, 103.27°)
OKLaboklab(61.09% -0.034 0.1047)
OKLCHoklch(61.09% 0.11 108)
XYZxyz(19.7991, 23.2174, 6.1272)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A882F #2F318A
analogous
#8A5B2F #8A882F #5F8A2F
triadic
#8A882F #2F8A88 #882F8A
tetradic
#8A882F #2F8A5B #2F318A #8A2F5F
square
#8A882F #2F8A5B #2F318A #8A2F5F
split-complementary
#8A882F #2F5F8A #5B2F8A
monochromatic
#2F2E10 #5C5B1F #8A882F #B8B53F #CCC968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A882F#FFFFFF#000000##000000
##8A882F1.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)
#938323
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#947F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a882f;
/* rgb */ color: rgb(138, 136, 47);
/* oklch */ color: oklch(61.1% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#afaa6c',
    500: '#8a882f',
    950: '#000000',
  },
}
SCSS
$custom: #8a882f;
$custom-light: #afaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a882f",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 58.681,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.11007,
    "h": 108
  },
  "luminance": 0.23217
}

Semantic roles & 50–950 ramp

primary
#8A882F
secondary
#6264B3
accent
#52D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A882F

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

Preview Lab → · Contrast checker → · Palette generator →

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