#8D8920#8D8920

#8D8920 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.121 H 107.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D8920
RGBrgb(141, 137, 32)
HSLhsl(58, 63%, 34%)
HSVhsv(58, 77%, 55%)
CMYKcmyk(0%, 2.8%, 77.3%, 44.7%)
CIE-LABlab(55.74, -10.90, 52.71)
CIE-LCHlch(55.74, 53.82, 101.69°)
OKLaboklab(61.48% -0.0358 0.1154)
OKLCHoklch(61.48% 0.121 107.2)
XYZxyz(20.1917, 23.6590, 4.8693)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8920 #20248D
analogous
#8D5320 #8D8920 #5B8D20
triadic
#8D8920 #208D89 #89208D
tetradic
#8D8920 #208D53 #20248D #8D205B
square
#8D8920 #208D53 #20248D #8D205B
split-complementary
#8D8920 #205B8D #53208D
monochromatic
#292809 #5B5915 #8D8920 #BFB92B #D7D250

Accessibility & contrast

On white

3.66
#8D8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8D8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8920
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8920#FFFFFF#000000##000000
##8D89201.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958307
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#988075
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8920;
/* rgb */ color: rgb(141, 137, 32);
/* oklch */ color: oklch(61.5% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#b2ab65',
    500: '#8d8920',
    950: '#000000',
  },
}
SCSS
$custom: #8d8920;
$custom-light: #b2ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8920",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 57.798,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.12082,
    "h": 107.2
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

primary
#8D8920
secondary
#4E52BA
accent
#48E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8920

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

Preview Lab → · Contrast checker → · Palette generator →

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