#8A761D#8A761D

#8A761D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.106 H 95.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A761D
RGBrgb(138, 118, 29)
HSLhsl(49, 65%, 33%)
HSVhsv(49, 79%, 54%)
CMYKcmyk(0%, 14.5%, 79%, 45.9%)
CIE-LABlab(50.04, -1.93, 48.39)
CIE-LCHlch(50.04, 48.43, 92.28°)
OKLaboklab(56.87% -0.0106 0.1057)
OKLCHoklch(56.87% 0.106 95.7)
XYZxyz(17.1824, 18.4498, 3.8183)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A761D #1D318A
analogous
#8A401D #8A761D #678A1D
triadic
#8A761D #1D8A76 #761D8A
tetradic
#8A761D #1D8A40 #1D318A #8A1D67
square
#8A761D #1D8A40 #1D318A #8A1D67
split-complementary
#8A761D #1D678A #401D8A
monochromatic
#252008 #574B12 #8A761D #BDA128 #D9BE49

Accessibility & contrast

On white

4.48
#8A761D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A761D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A761D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A761D#FFFFFF#000000##000000
##8A761D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#966C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a761d;
/* rgb */ color: rgb(138, 118, 29);
/* oklch */ color: oklch(56.9% 0.106 95.7);
Tailwind
colors: {
  custom: {
    50: '#b09d61',
    500: '#8a761d',
    950: '#000000',
  },
}
SCSS
$custom: #8a761d;
$custom-light: #b09d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a761d",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 48.991,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.10627,
    "h": 95.7
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#8A761D
secondary
#485DBB
accent
#5FE840
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A761D

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

Preview Lab → · Contrast checker → · Palette generator →

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