#8A761F#8A761F

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

Color values

HEX#8A761F
RGBrgb(138, 118, 31)
HSLhsl(49, 63%, 33%)
HSVhsv(49, 78%, 54%)
CMYKcmyk(0%, 14.5%, 77.5%, 45.9%)
CIE-LABlab(50.05, -1.84, 47.65)
CIE-LCHlch(50.05, 47.69, 92.21°)
OKLaboklab(56.88% -0.0101 0.1046)
OKLCHoklch(56.88% 0.105 95.5)
XYZxyz(17.2079, 18.4600, 3.9528)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A761F #1F338A
analogous
#8A401F #8A761F #688A1F
triadic
#8A761F #1F8A76 #761F8A
tetradic
#8A761F #1F8A40 #1F338A #8A1F68
square
#8A761F #1F8A40 #1F338A #8A1F68
split-complementary
#8A761F #1F688A #401F8A
monochromatic
#262109 #584B14 #8A761F #BCA12A #D7BD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A761F#FFFFFF#000000##000000
##8A761F1.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)
#83730F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a761f;
/* rgb */ color: rgb(138, 118, 31);
/* oklch */ color: oklch(56.9% 0.105 95.5);
Tailwind
colors: {
  custom: {
    50: '#b09d62',
    500: '#8a761f',
    950: '#000000',
  },
}
SCSS
$custom: #8a761f;
$custom-light: #b09d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a761f",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 48.785,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56881,
    "c": 0.10508,
    "h": 95.5
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#8A761F
secondary
#4B60BA
accent
#60E641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A761F

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

Preview Lab → · Contrast checker → · Palette generator →

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