#8A8920#8A8920

#8A8920 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.121 H 108.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A8920
RGBrgb(138, 137, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 77%, 54%)
CMYKcmyk(0%, 0.7%, 76.8%, 45.9%)
CIE-LABlab(55.48, -12.27, 52.37)
CIE-LCHlch(55.48, 53.79, 103.18°)
OKLaboklab(61.2% -0.0394 0.1148)
OKLCHoklch(61.2% 0.121 108.9)
XYZxyz(19.6883, 23.3995, 4.8457)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8920 #20218A
analogous
#8A5420 #8A8920 #568A20
triadic
#8A8920 #208A89 #89208A
tetradic
#8A8920 #208A54 #20218A #8A2056
square
#8A8920 #208A54 #20218A #8A2056
split-complementary
#8A8920 #20568A #54208A
monochromatic
#272609 #585814 #8A8920 #BCBA2C #D6D54E

Accessibility & contrast

On white

3.70
#8A8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8920
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8920#FFFFFF#000000##000000
##8A89201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958307
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8920;
/* rgb */ color: rgb(138, 137, 32);
/* oklch */ color: oklch(61.2% 0.121 108.9);
Tailwind
colors: {
  custom: {
    50: '#afab65',
    500: '#8a8920',
    950: '#000000',
  },
}
SCSS
$custom: #8a8920;
$custom-light: #afab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8920",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 59.434,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.12139,
    "h": 108.9
  },
  "luminance": 0.23399
}

Semantic roles & 50–950 ramp

primary
#8A8920
secondary
#4D4EB9
accent
#44E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8920

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

Preview Lab → · Contrast checker → · Palette generator →

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