#8A7E59#8A7E59

#8A7E59 is a mid, muted yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.054 H 92.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A7E59
RGBrgb(138, 126, 89)
HSLhsl(45, 22%, 45%)
HSVhsv(45, 36%, 54%)
CMYKcmyk(0%, 8.7%, 35.5%, 45.9%)
CIE-LABlab(53.00, -1.29, 21.84)
CIE-LCHlch(53.00, 21.88, 93.38°)
OKLaboklab(59.44% -0.0021 0.0544)
OKLCHoklch(59.44% 0.054 92.2)
XYZxyz(19.7456, 21.0469, 12.4716)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E59 #59658A
analogous
#8A6659 #8A7E59 #7E8A59
triadic
#8A7E59 #598A7E #7E598A
tetradic
#8A7E59 #598A66 #59658A #8A597E
square
#8A7E59 #598A66 #59658A #8A597E
split-complementary
#8A7E59 #597E8A #66598A
monochromatic
#403A29 #655C41 #8A7E59 #A89C78 #C0B89D

Accessibility & contrast

On white

4.03
#8A7E59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A7E59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E59
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E59#FFFFFF#000000##000000
##8A7E591.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C56
Deuteranopia (green-blind)
#89805A
Tritanopia (blue-blind)
#917874
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7e59;
/* rgb */ color: rgb(138, 126, 89);
/* oklch */ color: oklch(59.4% 0.054 92.2);
Tailwind
colors: {
  custom: {
    50: '#ada388',
    500: '#8a7e59',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e59;
$custom-light: #ada388;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e59",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 89
  },
  "hsl": {
    "h": 45.306,
    "s": 21.586,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.05446,
    "h": 92.2
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#8A7E59
secondary
#9198AE
accent
#7EBE6A
background
#FAFAF8
surface
#F4F3EF
border
#CECDCA
text
#100F0B
muted
#7F7F7C

Preview Lab

Preview with #8A7E59

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

Preview Lab → · Contrast checker → · Palette generator →

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