#8B8620#8B8620

#8B8620 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.118 H 106.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B8620
RGBrgb(139, 134, 32)
HSLhsl(57, 63%, 34%)
HSVhsv(57, 77%, 55%)
CMYKcmyk(0%, 3.6%, 77%, 45.5%)
CIE-LABlab(54.70, -10.20, 51.68)
CIE-LCHlch(54.70, 52.68, 101.16°)
OKLaboklab(60.6% -0.0337 0.1133)
OKLCHoklch(60.6% 0.118 106.5)
XYZxyz(19.4341, 22.6442, 4.7133)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8620 #20258B
analogous
#8B5020 #8B8620 #5A8B20
triadic
#8B8620 #208B86 #86208B
tetradic
#8B8620 #208B50 #20258B #8B205A
square
#8B8620 #208B50 #20258B #8B205A
split-complementary
#8B8620 #205A8B #50208B
monochromatic
#282609 #595615 #8B8620 #BDB62B #D6D04F

Accessibility & contrast

On white

3.80
#8B8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8B8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8620
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8620#FFFFFF#000000##000000
##8B86201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#967D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b8620;
/* rgb */ color: rgb(139, 134, 32);
/* oklch */ color: oklch(60.6% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b0a864',
    500: '#8b8620',
    950: '#000000',
  },
}
SCSS
$custom: #8b8620;
$custom-light: #b0a864;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8620",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 57.196,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.11821,
    "h": 106.5
  },
  "luminance": 0.22643
}

Semantic roles & 50–950 ramp

primary
#8B8620
secondary
#4D52BA
accent
#4AE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B8620

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

Preview Lab → · Contrast checker → · Palette generator →

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