#8A7E4E#8A7E4E

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

Color values

HEX#8A7E4E
RGBrgb(138, 126, 78)
HSLhsl(48, 28%, 42%)
HSVhsv(48, 43%, 54%)
CMYKcmyk(0%, 8.7%, 43.5%, 45.9%)
CIE-LABlab(52.81, -2.63, 27.76)
CIE-LCHlch(52.81, 27.88, 95.42°)
OKLaboklab(59.23% -0.0068 0.0677)
OKLCHoklch(59.23% 0.068 95.8)
XYZxyz(19.3177, 20.8757, 10.2181)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E4E #4E5A8A
analogous
#8A604E #8A7E4E #788A4E
triadic
#8A7E4E #4E8A7E #7E4E8A
tetradic
#8A7E4E #4E8A60 #4E5A8A #8A4E78
square
#8A7E4E #4E8A60 #4E5A8A #8A4E78
split-complementary
#8A7E4E #4E788A #604E8A
monochromatic
#3C3722 #635A38 #8A7E4E #AB9E6A #C1B891

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7E4E#FFFFFF#000000##000000
##8A7E4E1.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)
#877C4A
Deuteranopia (green-blind)
#8A8050
Tritanopia (blue-blind)
#927772
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7e4e;
/* rgb */ color: rgb(138, 126, 78);
/* oklch */ color: oklch(59.2% 0.068 95.8);
Tailwind
colors: {
  custom: {
    50: '#ada380',
    500: '#8a7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e4e;
$custom-light: #ada380;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e4e",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 48,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.06801,
    "h": 95.8
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#8A7E4E
secondary
#868EAE
accent
#77C464
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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