#8A7D4E#8A7D4E

#8A7D4E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.067 H 94.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A7D4E
RGBrgb(138, 125, 78)
HSLhsl(47, 28%, 42%)
HSVhsv(47, 43%, 54%)
CMYKcmyk(0%, 9.4%, 43.5%, 45.9%)
CIE-LABlab(52.53, -2.07, 27.40)
CIE-LCHlch(52.53, 27.48, 94.32°)
OKLaboklab(59.01% -0.0052 0.0669)
OKLCHoklch(59.01% 0.067 94.5)
XYZxyz(19.1905, 20.6212, 10.1757)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D4E #4E5B8A
analogous
#8A5F4E #8A7D4E #798A4E
triadic
#8A7D4E #4E8A7D #7D4E8A
tetradic
#8A7D4E #4E8A5F #4E5B8A #8A4E79
square
#8A7D4E #4E8A5F #4E5B8A #8A4E79
split-complementary
#8A7D4E #4E798A #5F4E8A
monochromatic
#3C3622 #635A38 #8A7D4E #AB9D6A #C1B791

Accessibility & contrast

On white

4.10
#8A7D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A7D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D4E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D4E#FFFFFF#000000##000000
##8A7D4E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4A
Deuteranopia (green-blind)
#8A7F50
Tritanopia (blue-blind)
#937671
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7d4e;
/* rgb */ color: rgb(138, 125, 78);
/* oklch */ color: oklch(59.0% 0.067 94.5);
Tailwind
colors: {
  custom: {
    50: '#ada280',
    500: '#8a7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d4e;
$custom-light: #ada280;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d4e",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 47,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.06705,
    "h": 94.5
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#8A7D4E
secondary
#868FAE
accent
#79C464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #8A7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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