#8B8B20#8B8B20

#8B8B20 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.123 H 109.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8B8B20
RGBrgb(139, 139, 32)
HSLhsl(60, 63%, 34%)
HSVhsv(60, 77%, 55%)
CMYKcmyk(0%, 0%, 77%, 45.5%)
CIE-LABlab(56.15, -12.88, 53.02)
CIE-LCHlch(56.15, 54.56, 103.66°)
OKLaboklab(61.75% -0.0412 0.1162)
OKLCHoklch(61.75% 0.123 109.5)
XYZxyz(20.1415, 24.0591, 4.9491)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8B20 #20208B
analogous
#8B5520 #8B8B20 #558B20
triadic
#8B8B20 #208B8B #8B208B
tetradic
#8B8B20 #208B55 #20208B #8B2055
square
#8B8B20 #208B55 #20208B #8B2055
split-complementary
#8B8B20 #20558B #55208B
monochromatic
#282809 #595915 #8B8B20 #BDBD2B #D6D64F

Accessibility & contrast

On white

3.61
#8B8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8B8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8B20
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8B20#FFFFFF#000000##000000
##8B8B201.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#958277
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8b8b20;
/* rgb */ color: rgb(139, 139, 32);
/* oklch */ color: oklch(61.8% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#b0ac65',
    500: '#8b8b20',
    950: '#000000',
  },
}
SCSS
$custom: #8b8b20;
$custom-light: #b0ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8b20",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61754,
    "c": 0.12324,
    "h": 109.5
  },
  "luminance": 0.24058
}

Semantic roles & 50–950 ramp

primary
#8B8B20
secondary
#4D4DBA
accent
#42E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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