#8A804F#8A804F

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

Color values

HEX#8A804F
RGBrgb(138, 128, 79)
HSLhsl(50, 27%, 43%)
HSVhsv(50, 43%, 54%)
CMYKcmyk(0%, 7.2%, 42.8%, 45.9%)
CIE-LABlab(53.39, -3.64, 27.94)
CIE-LCHlch(53.39, 28.18, 97.43°)
OKLaboklab(59.7% -0.0097 0.0681)
OKLCHoklch(59.7% 0.069 98.1)
XYZxyz(19.6121, 21.4068, 10.4944)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A804F #4F598A
analogous
#8A634F #8A804F #768A4F
triadic
#8A804F #4F8A80 #804F8A
tetradic
#8A804F #4F8A63 #4F598A #8A4F76
square
#8A804F #4F8A63 #4F598A #8A4F76
split-complementary
#8A804F #4F768A #634F8A
monochromatic
#3C3822 #635C39 #8A804F #ABA06C #C1B993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A804F#FFFFFF#000000##000000
##8A804F1.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)
#897D4B
Deuteranopia (green-blind)
#8C8151
Tritanopia (blue-blind)
#927974
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a804f;
/* rgb */ color: rgb(138, 128, 79);
/* oklch */ color: oklch(59.7% 0.069 98.1);
Tailwind
colors: {
  custom: {
    50: '#ada481',
    500: '#8a804f',
    950: '#000000',
  },
}
SCSS
$custom: #8a804f;
$custom-light: #ada481;
$custom-dark: #000000;
JSON
{
  "hex": "#8a804f",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 49.831,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.06882,
    "h": 98.1
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#8A804F
secondary
#878EAE
accent
#74C464
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A804F

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

Preview Lab → · Contrast checker → · Palette generator →

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