#8B751F#8B751F

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

Color values

HEX#8B751F
RGBrgb(139, 117, 31)
HSLhsl(48, 64%, 33%)
HSVhsv(48, 78%, 55%)
CMYKcmyk(0%, 15.8%, 77.7%, 45.5%)
CIE-LABlab(49.87, -0.80, 47.52)
CIE-LCHlch(49.87, 47.53, 90.97°)
OKLaboklab(56.76% -0.0072 0.1043)
OKLCHoklch(56.76% 0.105 94)
XYZxyz(17.2570, 18.3115, 3.9216)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B751F #1F358B
analogous
#8B3F1F #8B751F #6B8B1F
triadic
#8B751F #1F8B75 #751F8B
tetradic
#8B751F #1F8B3F #1F358B #8B1F6B
square
#8B751F #1F8B3F #1F358B #8B1F6B
split-complementary
#8B751F #1F6B8B #3F1F8B
monochromatic
#272109 #594B14 #8B751F #BD9F2A #D7BB4D

Accessibility & contrast

On white

4.50
#8B751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B751F#FFFFFF#000000##000000
##8B751F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#976B64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b751f;
/* rgb */ color: rgb(139, 117, 31);
/* oklch */ color: oklch(56.8% 0.105 94.0);
Tailwind
colors: {
  custom: {
    50: '#b19c62',
    500: '#8b751f',
    950: '#000000',
  },
}
SCSS
$custom: #8b751f;
$custom-light: #b19c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b751f",
  "rgb": {
    "r": 139,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 47.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.10451,
    "h": 94
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#8B751F
secondary
#4C62BA
accent
#63E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B751F

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

Preview Lab → · Contrast checker → · Palette generator →

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