#8A7E4D#8A7E4D

#8A7E4D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.069 H 96.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A7E4D
RGBrgb(138, 126, 77)
HSLhsl(48, 28%, 42%)
HSVhsv(48, 44%, 54%)
CMYKcmyk(0%, 8.7%, 44.2%, 45.9%)
CIE-LABlab(52.80, -2.75, 28.29)
CIE-LCHlch(52.80, 28.42, 95.55°)
OKLaboklab(59.22% -0.0073 0.0688)
OKLCHoklch(59.22% 0.069 96)
XYZxyz(19.2821, 20.8615, 10.0307)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E4D #4D598A
analogous
#8A604D #8A7E4D #788A4D
triadic
#8A7E4D #4D8A7E #7E4D8A
tetradic
#8A7E4D #4D8A60 #4D598A #8A4D78
square
#8A7E4D #4D8A60 #4D598A #8A4D78
split-complementary
#8A7E4D #4D788A #604D8A
monochromatic
#3B3621 #635A37 #8A7E4D #AB9E69 #C1B890

Accessibility & contrast

On white

4.06
#8A7E4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A7E4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E4D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E4D#FFFFFF#000000##000000
##8A7E4D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C49
Deuteranopia (green-blind)
#8A804F
Tritanopia (blue-blind)
#937772
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7e4d;
/* rgb */ color: rgb(138, 126, 77);
/* oklch */ color: oklch(59.2% 0.069 96.0);
Tailwind
colors: {
  custom: {
    50: '#ada37f',
    500: '#8a7e4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e4d;
$custom-light: #ada37f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e4d",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 48.197,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.06919,
    "h": 96
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#8A7E4D
secondary
#858DAE
accent
#76C563
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A7E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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