#8B751A#8B751A

#8B751A is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.7% C 0.107 H 94.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B751A
RGBrgb(139, 117, 26)
HSLhsl(48, 68%, 32%)
HSVhsv(48, 81%, 55%)
CMYKcmyk(0%, 15.8%, 81.3%, 45.5%)
CIE-LABlab(49.84, -1.01, 49.32)
CIE-LCHlch(49.84, 49.33, 91.17°)
OKLaboklab(56.73% -0.0084 0.107)
OKLCHoklch(56.73% 0.107 94.5)
XYZxyz(17.1962, 18.2871, 3.6011)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B751A #1A308B
analogous
#8B3D1A #8B751A #688B1A
triadic
#8B751A #1A8B75 #751A8B
tetradic
#8B751A #1A8B3D #1A308B #8B1A68
square
#8B751A #1A8B3D #1A308B #8B1A68
split-complementary
#8B751A #1A688B #3D1A8B
monochromatic
#241E07 #574A10 #8B751A #BFA024 #DCBE43

Accessibility & contrast

On white

4.51
#8B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8B751A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B751A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B751A#FFFFFF#000000##000000
##8B751A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#976B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b751a;
/* rgb */ color: rgb(139, 117, 26);
/* oklch */ color: oklch(56.7% 0.107 94.5);
Tailwind
colors: {
  custom: {
    50: '#b19c5f',
    500: '#8b751a',
    950: '#000000',
  },
}
SCSS
$custom: #8b751a;
$custom-light: #b19c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b751a",
  "rgb": {
    "r": 139,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 48.319,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.10736,
    "h": 94.5
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#8B751A
secondary
#445BBD
accent
#5FEB3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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