#8B7A1E#8B7A1E

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

Color values

HEX#8B7A1E
RGBrgb(139, 122, 30)
HSLhsl(51, 64%, 33%)
HSVhsv(51, 78%, 55%)
CMYKcmyk(0%, 12.2%, 78.4%, 45.5%)
CIE-LABlab(51.27, -3.67, 49.21)
CIE-LCHlch(51.27, 49.34, 94.26°)
OKLaboklab(57.87% -0.0155 0.1076)
OKLCHoklch(57.87% 0.109 98.2)
XYZxyz(17.8422, 19.5027, 4.0526)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A1E #1E2F8B
analogous
#8B431E #8B7A1E #658B1E
triadic
#8B7A1E #1E8B7A #7A1E8B
tetradic
#8B7A1E #1E8B43 #1E2F8B #8B1E65
square
#8B7A1E #1E8B43 #1E2F8B #8B1E65
split-complementary
#8B7A1E #1E658B #431E8B
monochromatic
#262208 #594E13 #8B7A1E #BDA629 #D8C24B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7A1E#FFFFFF#000000##000000
##8B7A1E1.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)
#87770B
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#967068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a1e;
/* rgb */ color: rgb(139, 122, 30);
/* oklch */ color: oklch(57.9% 0.109 98.2);
Tailwind
colors: {
  custom: {
    50: '#b0a062',
    500: '#8b7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a1e;
$custom-light: #b0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a1e",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 50.642,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.10875,
    "h": 98.2
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#8B7A1E
secondary
#4A5CBB
accent
#5AE740
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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