#8B8920#8B8920

#8B8920 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.121 H 108.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B8920
RGBrgb(139, 137, 32)
HSLhsl(59, 63%, 34%)
HSVhsv(59, 77%, 55%)
CMYKcmyk(0%, 1.4%, 77%, 45.5%)
CIE-LABlab(55.57, -11.81, 52.48)
CIE-LCHlch(55.57, 53.79, 102.69°)
OKLaboklab(61.29% -0.0382 0.115)
OKLCHoklch(61.29% 0.121 108.4)
XYZxyz(19.8546, 23.4852, 4.8535)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8920 #20228B
analogous
#8B5320 #8B8920 #578B20
triadic
#8B8920 #208B89 #89208B
tetradic
#8B8920 #208B53 #20228B #8B2057
square
#8B8920 #208B53 #20228B #8B2057
split-complementary
#8B8920 #20578B #53208B
monochromatic
#282709 #595815 #8B8920 #BDBA2B #D6D44F

Accessibility & contrast

On white

3.69
#8B8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8B8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8920
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8920#FFFFFF#000000##000000
##8B89201.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958307
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#958075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b8920;
/* rgb */ color: rgb(139, 137, 32);
/* oklch */ color: oklch(61.3% 0.121 108.4);
Tailwind
colors: {
  custom: {
    50: '#b0ab65',
    500: '#8b8920',
    950: '#000000',
  },
}
SCSS
$custom: #8b8920;
$custom-light: #b0ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8920",
  "rgb": {
    "r": 139,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 58.879,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.12119,
    "h": 108.4
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#8B8920
secondary
#4D4FBA
accent
#45E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8920

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

Preview Lab → · Contrast checker → · Palette generator →

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