#8A8820#8A8820

#8A8820 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.120 H 108.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8820
RGBrgb(138, 136, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 77%, 54%)
CMYKcmyk(0%, 1.4%, 76.8%, 45.9%)
CIE-LABlab(55.19, -11.73, 52.10)
CIE-LCHlch(55.19, 53.40, 102.69°)
OKLaboklab(60.97% -0.0379 0.1142)
OKLCHoklch(60.97% 0.12 108.4)
XYZxyz(19.5469, 23.1165, 4.7985)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8820 #20228A
analogous
#8A5320 #8A8820 #578A20
triadic
#8A8820 #208A88 #88208A
tetradic
#8A8820 #208A53 #20228A #8A2057
square
#8A8820 #208A53 #20228A #8A2057
split-complementary
#8A8820 #20578A #53208A
monochromatic
#272609 #585714 #8A8820 #BCB92C #D6D34E

Accessibility & contrast

On white

3.73
#8A8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8820
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8820#FFFFFF#000000##000000
##8A88201.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8820;
/* rgb */ color: rgb(138, 136, 32);
/* oklch */ color: oklch(61.0% 0.120 108.4);
Tailwind
colors: {
  custom: {
    50: '#afaa64',
    500: '#8a8820',
    950: '#000000',
  },
}
SCSS
$custom: #8a8820;
$custom-light: #afaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8820",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 58.868,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.12037,
    "h": 108.4
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#8A8820
secondary
#4D4FB9
accent
#45E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8820

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

Preview Lab → · Contrast checker → · Palette generator →

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