#8A7C4E#8A7C4E

#8A7C4E is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.8% C 0.066 H 93.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A7C4E
RGBrgb(138, 124, 78)
HSLhsl(46, 28%, 42%)
HSVhsv(46, 43%, 54%)
CMYKcmyk(0%, 10.1%, 43.5%, 45.9%)
CIE-LABlab(52.25, -1.51, 27.04)
CIE-LCHlch(52.25, 27.08, 93.19°)
OKLaboklab(58.79% -0.0036 0.066)
OKLCHoklch(58.79% 0.066 93.1)
XYZxyz(19.0645, 20.3693, 10.1337)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C4E #4E5C8A
analogous
#8A5E4E #8A7C4E #7A8A4E
triadic
#8A7C4E #4E8A7C #7C4E8A
tetradic
#8A7C4E #4E8A5E #4E5C8A #8A4E7A
square
#8A7C4E #4E8A5E #4E5C8A #8A4E7A
split-complementary
#8A7C4E #4E7A8A #5E4E8A
monochromatic
#3C3622 #635938 #8A7C4E #AB9C6A #C1B691

Accessibility & contrast

On white

4.14
#8A7C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A7C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C4E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C4E#FFFFFF#000000##000000
##8A7C4E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4B
Deuteranopia (green-blind)
#897E50
Tritanopia (blue-blind)
#937571
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7c4e;
/* rgb */ color: rgb(138, 124, 78);
/* oklch */ color: oklch(58.8% 0.066 93.1);
Tailwind
colors: {
  custom: {
    50: '#ada180',
    500: '#8a7c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c4e;
$custom-light: #ada180;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c4e",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 46,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.06613,
    "h": 93.1
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#8A7C4E
secondary
#868FAE
accent
#7AC464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #8A7C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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