#8A804E#8A804E

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

Color values

HEX#8A804E
RGBrgb(138, 128, 78)
HSLhsl(50, 28%, 42%)
HSVhsv(50, 43%, 54%)
CMYKcmyk(0%, 7.2%, 43.5%, 45.9%)
CIE-LABlab(53.38, -3.76, 28.47)
CIE-LCHlch(53.38, 28.72, 97.52°)
OKLaboklab(59.68% -0.0101 0.0693)
OKLCHoklch(59.68% 0.07 98.3)
XYZxyz(19.5760, 21.3923, 10.3042)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A804E #4E588A
analogous
#8A624E #8A804E #768A4E
triadic
#8A804E #4E8A80 #804E8A
tetradic
#8A804E #4E8A62 #4E588A #8A4E76
square
#8A804E #4E8A62 #4E588A #8A4E76
split-complementary
#8A804E #4E768A #624E8A
monochromatic
#3C3722 #635C38 #8A804E #ABA06A #C1B991

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A804E#FFFFFF#000000##000000
##8A804E1.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)
#897D4A
Deuteranopia (green-blind)
#8C8150
Tritanopia (blue-blind)
#927974
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a804e;
/* rgb */ color: rgb(138, 128, 78);
/* oklch */ color: oklch(59.7% 0.070 98.3);
Tailwind
colors: {
  custom: {
    50: '#ada480',
    500: '#8a804e',
    950: '#000000',
  },
}
SCSS
$custom: #8a804e;
$custom-light: #ada480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a804e",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 78
  },
  "hsl": {
    "h": 50,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.07002,
    "h": 98.3
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#8A804E
secondary
#868DAE
accent
#74C464
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A804E

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

Preview Lab → · Contrast checker → · Palette generator →

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