#8A8220#8A8220

#8A8220 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.6% C 0.115 H 104.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8A8220
RGBrgb(138, 130, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 77%, 54%)
CMYKcmyk(0%, 5.8%, 76.8%, 45.9%)
CIE-LABlab(53.46, -8.48, 50.49)
CIE-LCHlch(53.46, 51.20, 99.53°)
OKLaboklab(59.59% -0.0288 0.1108)
OKLCHoklch(59.59% 0.115 104.6)
XYZxyz(18.7254, 21.4736, 4.5247)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8220 #20288A
analogous
#8A4D20 #8A8220 #5D8A20
triadic
#8A8220 #208A82 #82208A
tetradic
#8A8220 #208A4D #20288A #8A205D
square
#8A8220 #208A4D #20288A #8A205D
split-complementary
#8A8220 #205D8A #4D208A
monochromatic
#272409 #585314 #8A8220 #BCB12C #D6CC4E

Accessibility & contrast

On white

3.97
#8A8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8A8220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8220
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8220#FFFFFF#000000##000000
##8A82201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#95796F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8220;
/* rgb */ color: rgb(138, 130, 32);
/* oklch */ color: oklch(59.6% 0.115 104.6);
Tailwind
colors: {
  custom: {
    50: '#b0a664',
    500: '#8a8220',
    950: '#000000',
  },
}
SCSS
$custom: #8a8220;
$custom-light: #b0a664;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8220",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 55.472,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.1145,
    "h": 104.6
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#8A8220
secondary
#4D55B9
accent
#4FE542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8220

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

Preview Lab → · Contrast checker → · Palette generator →

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