#8A8120#8A8120

#8A8120 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.114 H 103.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A8120
RGBrgb(138, 129, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 77%, 54%)
CMYKcmyk(0%, 6.5%, 76.8%, 45.9%)
CIE-LABlab(53.18, -7.93, 50.22)
CIE-LCHlch(53.18, 50.84, 98.97°)
OKLaboklab(59.37% -0.0272 0.1103)
OKLCHoklch(59.37% 0.114 103.9)
XYZxyz(18.5930, 21.2088, 4.4806)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8120 #20298A
analogous
#8A4C20 #8A8120 #5E8A20
triadic
#8A8120 #208A81 #81208A
tetradic
#8A8120 #208A4C #20298A #8A205E
square
#8A8120 #208A4C #20298A #8A205E
split-complementary
#8A8120 #205E8A #4C208A
monochromatic
#272409 #585314 #8A8120 #BCAF2C #D6CB4E

Accessibility & contrast

On white

4.01
#8A8120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A8120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8120
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8120#FFFFFF#000000##000000
##8A81201.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#95786E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8120;
/* rgb */ color: rgb(138, 129, 32);
/* oklch */ color: oklch(59.4% 0.114 103.9);
Tailwind
colors: {
  custom: {
    50: '#b0a564',
    500: '#8a8120',
    950: '#000000',
  },
}
SCSS
$custom: #8a8120;
$custom-light: #b0a564;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8120",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 54.906,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.11357,
    "h": 103.9
  },
  "luminance": 0.21208
}

Semantic roles & 50–950 ramp

primary
#8A8120
secondary
#4D56B9
accent
#50E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8120

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

Preview Lab → · Contrast checker → · Palette generator →

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