#8B7A1C#8B7A1C

#8B7A1C is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.110 H 98.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8B7A1C
RGBrgb(139, 122, 28)
HSLhsl(51, 66%, 33%)
HSVhsv(51, 80%, 55%)
CMYKcmyk(0%, 12.2%, 79.9%, 45.5%)
CIE-LABlab(51.26, -3.75, 49.91)
CIE-LCHlch(51.26, 50.05, 94.30°)
OKLaboklab(57.86% -0.0159 0.1087)
OKLCHoklch(57.86% 0.11 98.3)
XYZxyz(17.8175, 19.4928, 3.9224)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A1C #1C2D8B
analogous
#8B431C #8B7A1C #648B1C
triadic
#8B7A1C #1C8B7A #7A1C8B
tetradic
#8B7A1C #1C8B43 #1C2D8B #8B1C64
square
#8B7A1C #1C8B43 #1C2D8B #8B1C64
split-complementary
#8B7A1C #1C648B #431C8B
monochromatic
#252107 #584D12 #8B7A1C #BEA726 #DAC447

Accessibility & contrast

On white

4.29
#8B7A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8B7A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7A1C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7A1C#FFFFFF#000000##000000
##8B7A1C1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#967068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a1c;
/* rgb */ color: rgb(139, 122, 28);
/* oklch */ color: oklch(57.9% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b1a061',
    500: '#8b7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a1c;
$custom-light: #b1a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a1c",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 50.811,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57857,
    "c": 0.10988,
    "h": 98.3
  },
  "luminance": 0.19492
}

Semantic roles & 50–950 ramp

primary
#8B7A1C
secondary
#4759BC
accent
#59E93E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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