#8B7E27#8B7E27

#8B7E27 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.106 H 100.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8B7E27
RGBrgb(139, 126, 39)
HSLhsl(52, 56%, 35%)
HSVhsv(52, 72%, 55%)
CMYKcmyk(0%, 9.4%, 71.9%, 45.5%)
CIE-LABlab(52.46, -5.46, 46.83)
CIE-LCHlch(52.46, 47.15, 96.65°)
OKLaboklab(58.83% -0.0196 0.1044)
OKLCHoklch(58.83% 0.106 100.6)
XYZxyz(18.4754, 20.5580, 4.9140)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E27 #27348B
analogous
#8B4C27 #8B7E27 #668B27
triadic
#8B7E27 #278B7E #7E278B
tetradic
#8B7E27 #278B4C #27348B #8B2766
square
#8B7E27 #278B4C #27348B #8B2766
split-complementary
#8B7E27 #27668B #4C278B
monochromatic
#2B270C #5B531A #8B7E27 #BBA934 #D1C25B

Accessibility & contrast

On white

4.11
#8B7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8B7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E27
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E27#FFFFFF#000000##000000
##8B7E271.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b7e27;
/* rgb */ color: rgb(139, 126, 39);
/* oklch */ color: oklch(58.8% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#b0a367',
    500: '#8b7e27',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e27;
$custom-light: #b0a367;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e27",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 52.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.10622,
    "h": 100.6
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#8B7E27
secondary
#5864B6
accent
#5CDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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