#8B761B#8B761B

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

Color values

HEX#8B761B
RGBrgb(139, 118, 27)
HSLhsl(49, 67%, 33%)
HSVhsv(49, 81%, 55%)
CMYKcmyk(0%, 15.1%, 80.6%, 45.5%)
CIE-LABlab(50.13, -1.54, 49.23)
CIE-LCHlch(50.13, 49.26, 91.79°)
OKLaboklab(56.96% -0.0098 0.1071)
OKLCHoklch(56.96% 0.107 95.2)
XYZxyz(17.3247, 18.5260, 3.7000)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B761B #1B308B
analogous
#8B3E1B #8B761B #688B1B
triadic
#8B761B #1B8B76 #761B8B
tetradic
#8B761B #1B8B3E #1B308B #8B1B68
square
#8B761B #1B8B3E #1B308B #8B1B68
split-complementary
#8B761B #1B688B #3E1B8B
monochromatic
#251F07 #584A11 #8B761B #BEA225 #DBBF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B761B#FFFFFF#000000##000000
##8B761B1.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)
#837406
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#976C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b761b;
/* rgb */ color: rgb(139, 118, 27);
/* oklch */ color: oklch(57.0% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#b19d60',
    500: '#8b761b',
    950: '#000000',
  },
}
SCSS
$custom: #8b761b;
$custom-light: #b19d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b761b",
  "rgb": {
    "r": 139,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 48.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.10749,
    "h": 95.2
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#8B761B
secondary
#455CBC
accent
#5EEA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B761B

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

Preview Lab → · Contrast checker → · Palette generator →

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