#8B7B1E#8B7B1E

#8B7B1E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.110 H 99.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B7B1E
RGBrgb(139, 123, 30)
HSLhsl(51, 64%, 33%)
HSVhsv(51, 78%, 55%)
CMYKcmyk(0%, 11.5%, 78.4%, 45.5%)
CIE-LABlab(51.55, -4.23, 49.47)
CIE-LCHlch(51.55, 49.65, 94.88°)
OKLaboklab(58.09% -0.0171 0.1082)
OKLCHoklch(58.09% 0.11 99)
XYZxyz(17.9657, 19.7495, 4.0938)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7B1E #1E2E8B
analogous
#8B451E #8B7B1E #648B1E
triadic
#8B7B1E #1E8B7B #7B1E8B
tetradic
#8B7B1E #1E8B45 #1E2E8B #8B1E64
square
#8B7B1E #1E8B45 #1E2E8B #8B1E64
split-complementary
#8B7B1E #1E648B #451E8B
monochromatic
#262208 #594E13 #8B7B1E #BDA829 #D8C34B

Accessibility & contrast

On white

4.24
#8B7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B7B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7B1E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7B1E#FFFFFF#000000##000000
##8B7B1E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#967169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b7b1e;
/* rgb */ color: rgb(139, 123, 30);
/* oklch */ color: oklch(58.1% 0.110 99.0);
Tailwind
colors: {
  custom: {
    50: '#b0a062',
    500: '#8b7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7b1e;
$custom-light: #b0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7b1e",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 51.193,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.10954,
    "h": 99
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#8B7B1E
secondary
#4A5BBB
accent
#59E740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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