#8B761F#8B761F

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

Color values

HEX#8B761F
RGBrgb(139, 118, 31)
HSLhsl(48, 64%, 33%)
HSVhsv(48, 78%, 55%)
CMYKcmyk(0%, 15.1%, 77.7%, 45.5%)
CIE-LABlab(50.15, -1.37, 47.79)
CIE-LCHlch(50.15, 47.81, 91.64°)
OKLaboklab(56.99% -0.0089 0.1048)
OKLCHoklch(56.99% 0.105 94.8)
XYZxyz(17.3742, 18.5457, 3.9606)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B761F #1F348B
analogous
#8B401F #8B761F #6A8B1F
triadic
#8B761F #1F8B76 #761F8B
tetradic
#8B761F #1F8B40 #1F348B #8B1F6A
square
#8B761F #1F8B40 #1F348B #8B1F6A
split-complementary
#8B761F #1F6A8B #401F8B
monochromatic
#272109 #594C14 #8B761F #BDA02A #D7BC4D

Accessibility & contrast

On white

4.46
#8B761F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8B761F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B761F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B761F#FFFFFF#000000##000000
##8B761F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#976C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b761f;
/* rgb */ color: rgb(139, 118, 31);
/* oklch */ color: oklch(57.0% 0.105 94.8);
Tailwind
colors: {
  custom: {
    50: '#b19d62',
    500: '#8b761f',
    950: '#000000',
  },
}
SCSS
$custom: #8b761f;
$custom-light: #b19d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b761f",
  "rgb": {
    "r": 139,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 48.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.10519,
    "h": 94.8
  },
  "luminance": 0.18545
}

Semantic roles & 50–950 ramp

primary
#8B761F
secondary
#4C61BA
accent
#61E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B761F

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

Preview Lab → · Contrast checker → · Palette generator →

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