#8B7D20#8B7D20

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

Color values

HEX#8B7D20
RGBrgb(139, 125, 32)
HSLhsl(52, 63%, 34%)
HSVhsv(52, 77%, 55%)
CMYKcmyk(0%, 10.1%, 77%, 45.5%)
CIE-LABlab(52.13, -5.25, 49.27)
CIE-LCHlch(52.13, 49.55, 96.09°)
OKLaboklab(58.56% -0.0198 0.1082)
OKLCHoklch(58.56% 0.11 100.4)
XYZxyz(18.2427, 20.2613, 4.3161)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D20 #202E8B
analogous
#8B4720 #8B7D20 #638B20
triadic
#8B7D20 #208B7D #7D208B
tetradic
#8B7D20 #208B47 #202E8B #8B2063
square
#8B7D20 #208B47 #202E8B #8B2063
split-complementary
#8B7D20 #20638B #47208B
monochromatic
#282409 #595015 #8B7D20 #BDAA2B #D6C54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7D20#FFFFFF#000000##000000
##8B7D201.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)
#8A790E
Deuteranopia (green-blind)
#8D7F26
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d20;
/* rgb */ color: rgb(139, 125, 32);
/* oklch */ color: oklch(58.6% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#b0a263',
    500: '#8b7d20',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d20;
$custom-light: #b0a263;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d20",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 52.15,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58556,
    "c": 0.10999,
    "h": 100.4
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#8B7D20
secondary
#4D5BBA
accent
#58E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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