#8A8336#8A8336

#8A8336 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.099 H 104.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8336
RGBrgb(138, 131, 54)
HSLhsl(55, 44%, 38%)
HSVhsv(55, 61%, 54%)
CMYKcmyk(0%, 5.1%, 60.9%, 45.9%)
CIE-LABlab(53.92, -7.69, 41.59)
CIE-LCHlch(53.92, 42.30, 100.48°)
OKLaboklab(60.01% -0.0241 0.0958)
OKLCHoklch(60.01% 0.099 104.1)
XYZxyz(19.2640, 21.9029, 6.7022)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8336 #363D8A
analogous
#8A5936 #8A8336 #678A36
triadic
#8A8336 #368A83 #83368A
tetradic
#8A8336 #368A59 #363D8A #8A3667
square
#8A8336 #368A59 #363D8A #8A3667
split-complementary
#8A8336 #36678A #59368A
monochromatic
#322F14 #5E5925 #8A8336 #B6AD47 #C8C172

Accessibility & contrast

On white

3.90
#8A8336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A8336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8336
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8336#FFFFFF#000000##000000
##8A83361.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#90833A
Tritanopia (blue-blind)
#947B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8336;
/* rgb */ color: rgb(138, 131, 54);
/* oklch */ color: oklch(60.0% 0.099 104.1);
Tailwind
colors: {
  custom: {
    50: '#aea670',
    500: '#8a8336',
    950: '#000000',
  },
}
SCSS
$custom: #8a8336;
$custom-light: #aea670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8336",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 55,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.09876,
    "h": 104.1
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#8A8336
secondary
#6B71B1
accent
#5FD354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8336

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

Preview Lab → · Contrast checker → · Palette generator →

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