#8A8436#8A8436

#8A8436 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.100 H 104.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A8436
RGBrgb(138, 132, 54)
HSLhsl(56, 44%, 38%)
HSVhsv(56, 61%, 54%)
CMYKcmyk(0%, 4.3%, 60.9%, 45.9%)
CIE-LABlab(54.21, -8.24, 41.91)
CIE-LCHlch(54.21, 42.71, 101.13°)
OKLaboklab(60.24% -0.0256 0.0965)
OKLCHoklch(60.24% 0.1 104.9)
XYZxyz(19.3990, 22.1728, 6.7472)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8436 #363C8A
analogous
#8A5A36 #8A8436 #668A36
triadic
#8A8436 #368A84 #84368A
tetradic
#8A8436 #368A5A #363C8A #8A3666
square
#8A8436 #368A5A #363C8A #8A3666
split-complementary
#8A8436 #36668A #5A368A
monochromatic
#323014 #5E5A25 #8A8436 #B6AE47 #C8C272

Accessibility & contrast

On white

3.86
#8A8436 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A8436 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8436
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8436#FFFFFF#000000##000000
##8A84361.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802D
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8436;
/* rgb */ color: rgb(138, 132, 54);
/* oklch */ color: oklch(60.2% 0.100 104.9);
Tailwind
colors: {
  custom: {
    50: '#aea770',
    500: '#8a8436',
    950: '#000000',
  },
}
SCSS
$custom: #8a8436;
$custom-light: #aea770;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8436",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 55.714,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.09981,
    "h": 104.9
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#8A8436
secondary
#6B70B1
accent
#5DD354
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8436

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

Preview Lab → · Contrast checker → · Palette generator →

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