#8A7D3A#8A7D3A

#8A7D3A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.089 H 98.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A7D3A
RGBrgb(138, 125, 58)
HSLhsl(50, 41%, 38%)
HSVhsv(50, 58%, 54%)
CMYKcmyk(0%, 9.4%, 58%, 45.9%)
CIE-LABlab(52.26, -4.05, 37.74)
CIE-LCHlch(52.26, 37.95, 96.12°)
OKLaboklab(58.71% -0.0131 0.088)
OKLCHoklch(58.71% 0.089 98.5)
XYZxyz(18.5792, 20.3768, 6.9566)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D3A #3A478A
analogous
#8A553A #8A7D3A #6F8A3A
triadic
#8A7D3A #3A8A7D #7D3A8A
tetradic
#8A7D3A #3A8A55 #3A478A #8A3A6F
square
#8A7D3A #3A8A55 #3A478A #8A3A6F
split-complementary
#8A7D3A #3A6F8A #553A8A
monochromatic
#342F16 #5F5628 #8A7D3A #B4A34D #C6BA78

Accessibility & contrast

On white

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

On black

5.08
#8A7D3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D3A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D3A#FFFFFF#000000##000000
##8A7D3A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#8B7F3D
Tritanopia (blue-blind)
#94756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7d3a;
/* rgb */ color: rgb(138, 125, 58);
/* oklch */ color: oklch(58.7% 0.089 98.5);
Tailwind
colors: {
  custom: {
    50: '#aea272',
    500: '#8a7d3a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d3a;
$custom-light: #aea272;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d3a",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 50.25,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.08902,
    "h": 98.5
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#8A7D3A
secondary
#707AB0
accent
#6BD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8A7D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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