#8B751B#8B751B

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

Color values

HEX#8B751B
RGBrgb(139, 117, 27)
HSLhsl(48, 67%, 33%)
HSVhsv(48, 81%, 55%)
CMYKcmyk(0%, 15.8%, 80.6%, 45.5%)
CIE-LABlab(49.85, -0.97, 48.98)
CIE-LCHlch(49.85, 48.99, 91.14°)
OKLaboklab(56.74% -0.0082 0.1065)
OKLCHoklch(56.74% 0.107 94.4)
XYZxyz(17.2075, 18.2917, 3.6610)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B751B #1B318B
analogous
#8B3D1B #8B751B #698B1B
triadic
#8B751B #1B8B75 #751B8B
tetradic
#8B751B #1B8B3D #1B318B #8B1B69
square
#8B751B #1B8B3D #1B318B #8B1B69
split-complementary
#8B751B #1B698B #3D1B8B
monochromatic
#251F07 #584A11 #8B751B #BEA025 #DBBE45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B751B#FFFFFF#000000##000000
##8B751B1.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)
#827306
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#976B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b751b;
/* rgb */ color: rgb(139, 117, 27);
/* oklch */ color: oklch(56.7% 0.107 94.4);
Tailwind
colors: {
  custom: {
    50: '#b19c60',
    500: '#8b751b',
    950: '#000000',
  },
}
SCSS
$custom: #8b751b;
$custom-light: #b19c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b751b",
  "rgb": {
    "r": 139,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 48.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.10682,
    "h": 94.4
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#8B751B
secondary
#455DBC
accent
#5FEA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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