#8D7B20#8D7B20

#8D7B20 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.108 H 97.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D7B20
RGBrgb(141, 123, 32)
HSLhsl(50, 63%, 34%)
HSVhsv(50, 77%, 55%)
CMYKcmyk(0%, 12.8%, 77.3%, 44.7%)
CIE-LABlab(51.76, -3.21, 49.00)
CIE-LCHlch(51.76, 49.10, 93.75°)
OKLaboklab(58.31% -0.0141 0.1075)
OKLCHoklch(58.31% 0.108 97.5)
XYZxyz(18.3291, 19.9339, 4.2484)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B20 #20328D
analogous
#8D4520 #8D7B20 #698D20
triadic
#8D7B20 #208D7B #7B208D
tetradic
#8D7B20 #208D45 #20328D #8D2069
square
#8D7B20 #208D45 #20328D #8D2069
split-complementary
#8D7B20 #20698D #45208D
monochromatic
#292409 #5B4F15 #8D7B20 #BFA72B #D7C150

Accessibility & contrast

On white

4.21
#8D7B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D7B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B20#FFFFFF#000000##000000
##8D7B201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#997169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b20;
/* rgb */ color: rgb(141, 123, 32);
/* oklch */ color: oklch(58.3% 0.108 97.5);
Tailwind
colors: {
  custom: {
    50: '#b2a063',
    500: '#8d7b20',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b20;
$custom-light: #b2a063;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b20",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 50.092,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.10844,
    "h": 97.5
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#8D7B20
secondary
#4E60BA
accent
#5DE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B20

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

Preview Lab → · Contrast checker → · Palette generator →

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