#8B7F20#8B7F20

#8B7F20 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.112 H 101.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B7F20
RGBrgb(139, 127, 32)
HSLhsl(53, 63%, 34%)
HSVhsv(53, 77%, 55%)
CMYKcmyk(0%, 8.6%, 77%, 45.5%)
CIE-LABlab(52.70, -6.36, 49.81)
CIE-LCHlch(52.70, 50.21, 97.28°)
OKLaboklab(59.01% -0.0229 0.1093)
OKLCHoklch(59.01% 0.112 101.8)
XYZxyz(18.4984, 20.7728, 4.4014)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F20 #202C8B
analogous
#8B4920 #8B7F20 #618B20
triadic
#8B7F20 #208B7F #7F208B
tetradic
#8B7F20 #208B49 #202C8B #8B2061
square
#8B7F20 #208B49 #202C8B #8B2061
split-complementary
#8B7F20 #20618B #49208B
monochromatic
#282409 #595215 #8B7F20 #BDAC2B #D6C74F

Accessibility & contrast

On white

4.07
#8B7F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B7F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F20#FFFFFF#000000##000000
##8B7F201.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#96756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f20;
/* rgb */ color: rgb(139, 127, 32);
/* oklch */ color: oklch(59.0% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#b0a363',
    500: '#8b7f20',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f20;
$custom-light: #b0a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f20",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 53.271,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.1117,
    "h": 101.8
  },
  "luminance": 0.20772
}

Semantic roles & 50–950 ramp

primary
#8B7F20
secondary
#4D59BA
accent
#54E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B7F20

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

Preview Lab → · Contrast checker → · Palette generator →

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