#8B8820#8B8820

#8B8820 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.120 H 107.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8B8820
RGBrgb(139, 136, 32)
HSLhsl(58, 63%, 34%)
HSVhsv(58, 77%, 55%)
CMYKcmyk(0%, 2.2%, 77%, 45.5%)
CIE-LABlab(55.28, -11.28, 52.21)
CIE-LCHlch(55.28, 53.42, 102.19°)
OKLaboklab(61.06% -0.0367 0.1145)
OKLCHoklch(61.06% 0.12 107.8)
XYZxyz(19.7131, 23.2022, 4.8063)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8820 #20238B
analogous
#8B5220 #8B8820 #588B20
triadic
#8B8820 #208B88 #88208B
tetradic
#8B8820 #208B52 #20238B #8B2058
square
#8B8820 #208B52 #20238B #8B2058
split-complementary
#8B8820 #20588B #52208B
monochromatic
#282709 #595715 #8B8820 #BDB92B #D6D34F

Accessibility & contrast

On white

3.72
#8B8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8B8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8820
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8820#FFFFFF#000000##000000
##8B88201.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#957F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8b8820;
/* rgb */ color: rgb(139, 136, 32);
/* oklch */ color: oklch(61.1% 0.120 107.8);
Tailwind
colors: {
  custom: {
    50: '#b0aa64',
    500: '#8b8820',
    950: '#000000',
  },
}
SCSS
$custom: #8b8820;
$custom-light: #b0aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8820",
  "rgb": {
    "r": 139,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 58.318,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61062,
    "c": 0.12019,
    "h": 107.8
  },
  "luminance": 0.23202
}

Semantic roles & 50–950 ramp

primary
#8B8820
secondary
#4D50BA
accent
#47E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8820

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

Preview Lab → · Contrast checker → · Palette generator →

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