#8A7D41#8A7D41

#8A7D41 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.082 H 97.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7D41
RGBrgb(138, 125, 65)
HSLhsl(49, 36%, 40%)
HSVhsv(49, 53%, 54%)
CMYKcmyk(0%, 9.4%, 52.9%, 45.9%)
CIE-LABlab(52.35, -3.43, 34.21)
CIE-LCHlch(52.35, 34.38, 95.72°)
OKLaboklab(58.8% -0.0105 0.0811)
OKLCHoklch(58.8% 0.082 97.4)
XYZxyz(18.7696, 20.4529, 7.9591)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D41 #414E8A
analogous
#8A5841 #8A7D41 #738A41
triadic
#8A7D41 #418A7D #7D418A
tetradic
#8A7D41 #418A58 #414E8A #8A4173
square
#8A7D41 #418A58 #414E8A #8A4173
split-complementary
#8A7D41 #41738A #58418A
monochromatic
#37321A #60572D #8A7D41 #B0A158 #C4B882

Accessibility & contrast

On white

4.13
#8A7D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A7D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D41
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D41#FFFFFF#000000##000000
##8A7D411.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#93756F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7d41;
/* rgb */ color: rgb(138, 125, 65);
/* oklch */ color: oklch(58.8% 0.082 97.4);
Tailwind
colors: {
  custom: {
    50: '#aea277',
    500: '#8a7d41',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d41;
$custom-light: #aea277;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d41",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 49.315,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.0818,
    "h": 97.4
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8A7D41
secondary
#7882AE
accent
#70CC5C
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #8A7D41

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

Preview Lab → · Contrast checker → · Palette generator →

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