#8A804D#8A804D

#8A804D is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.071 H 98.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A804D
RGBrgb(138, 128, 77)
HSLhsl(50, 28%, 42%)
HSVhsv(50, 44%, 54%)
CMYKcmyk(0%, 7.2%, 44.2%, 45.9%)
CIE-LABlab(53.36, -3.87, 29.00)
CIE-LCHlch(53.36, 29.26, 97.60°)
OKLaboklab(59.66% -0.0105 0.0704)
OKLCHoklch(59.66% 0.071 98.5)
XYZxyz(19.5404, 21.3781, 10.1168)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A804D #4D578A
analogous
#8A624D #8A804D #768A4D
triadic
#8A804D #4D8A80 #804D8A
tetradic
#8A804D #4D8A62 #4D578A #8A4D76
square
#8A804D #4D8A62 #4D578A #8A4D76
split-complementary
#8A804D #4D768A #624D8A
monochromatic
#3B3721 #635C37 #8A804D #ABA069 #C1B990

Accessibility & contrast

On white

3.98
#8A804D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A804D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A804D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A804D#FFFFFF#000000##000000
##8A804D1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D49
Deuteranopia (green-blind)
#8C814F
Tritanopia (blue-blind)
#927973
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a804d;
/* rgb */ color: rgb(138, 128, 77);
/* oklch */ color: oklch(59.7% 0.071 98.5);
Tailwind
colors: {
  custom: {
    50: '#ada47f',
    500: '#8a804d',
    950: '#000000',
  },
}
SCSS
$custom: #8a804d;
$custom-light: #ada47f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a804d",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 50.164,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.07121,
    "h": 98.5
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#8A804D
secondary
#858CAE
accent
#73C563
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A804D

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

Preview Lab → · Contrast checker → · Palette generator →

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