#8B7D1E#8B7D1E

#8B7D1E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.111 H 100.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B7D1E
RGBrgb(139, 125, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 55%)
CMYKcmyk(0%, 10.1%, 78.4%, 45.5%)
CIE-LABlab(52.12, -5.34, 49.99)
CIE-LCHlch(52.12, 50.28, 96.10°)
OKLaboklab(58.54% -0.0202 0.1093)
OKLCHoklch(58.54% 0.111 100.5)
XYZxyz(18.2163, 20.2508, 4.1773)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D1E #1E2C8B
analogous
#8B471E #8B7D1E #628B1E
triadic
#8B7D1E #1E8B7D #7D1E8B
tetradic
#8B7D1E #1E8B47 #1E2C8B #8B1E62
square
#8B7D1E #1E8B47 #1E2C8B #8B1E62
split-complementary
#8B7D1E #1E628B #471E8B
monochromatic
#262208 #595013 #8B7D1E #BDAA29 #D8C64B

Accessibility & contrast

On white

4.16
#8B7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8B7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D1E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D1E#FFFFFF#000000##000000
##8B7D1E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#8D7F25
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d1e;
/* rgb */ color: rgb(139, 125, 30);
/* oklch */ color: oklch(58.5% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#b0a262',
    500: '#8b7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d1e;
$custom-light: #b0a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d1e",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 52.294,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.11117,
    "h": 100.5
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#8B7D1E
secondary
#4A59BB
accent
#56E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8B7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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