#8B8E20#8B8E20

#8B8E20 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.126 H 111.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8B8E20
RGBrgb(139, 142, 32)
HSLhsl(62, 63%, 34%)
HSVhsv(62, 77%, 56%)
CMYKcmyk(2.1%, 0%, 77.5%, 44.3%)
CIE-LABlab(57.02, -14.48, 53.82)
CIE-LCHlch(57.02, 55.73, 105.06°)
OKLaboklab(62.45% -0.0456 0.1179)
OKLCHoklch(62.45% 0.126 111.2)
XYZxyz(20.5819, 24.9398, 5.0959)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E20 #23208E
analogous
#8E5A20 #8B8E20 #548E20
triadic
#8B8E20 #208B8E #8E208B
tetradic
#8B8E20 #208E5A #23208E #8E2054
square
#8B8E20 #208E5A #23208E #8E2054
split-complementary
#8B8E20 #20548E #5A208E
monochromatic
#292A09 #5A5C15 #8B8E20 #BCC02B #D4D851

Accessibility & contrast

On white

3.51
#8B8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8B8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E20
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E20#FFFFFF#000000##000000
##8B8E201.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8704
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e20;
/* rgb */ color: rgb(139, 142, 32);
/* oklch */ color: oklch(62.4% 0.126 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae65',
    500: '#8b8e20',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e20;
$custom-light: #b0ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e20",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 61.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62449,
    "c": 0.12637,
    "h": 111.2
  },
  "luminance": 0.24939
}

Semantic roles & 50–950 ramp

primary
#8B8E20
secondary
#524FBB
accent
#42E646
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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