#8D8D20#8D8D20

#8D8D20 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.125 H 109.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D8D20
RGBrgb(141, 141, 32)
HSLhsl(60, 63%, 34%)
HSVhsv(60, 77%, 55%)
CMYKcmyk(0%, 0%, 77.3%, 44.7%)
CIE-LABlab(56.90, -13.04, 53.77)
CIE-LCHlch(56.90, 55.33, 103.64°)
OKLaboklab(62.4% -0.0417 0.1177)
OKLCHoklch(62.4% 0.125 109.5)
XYZxyz(20.7709, 24.8174, 5.0623)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D20 #20208D
analogous
#8D5720 #8D8D20 #578D20
triadic
#8D8D20 #208D8D #8D208D
tetradic
#8D8D20 #208D57 #20208D #8D2057
square
#8D8D20 #208D57 #20208D #8D2057
split-complementary
#8D8D20 #20578D #57208D
monochromatic
#292909 #5B5B15 #8D8D20 #BFBF2B #D7D750

Accessibility & contrast

On white

3.52
#8D8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8D8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D20
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D20#FFFFFF#000000##000000
##8D8D201.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d20;
/* rgb */ color: rgb(141, 141, 32);
/* oklch */ color: oklch(62.4% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8d8d20',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d20;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d20",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62395,
    "c": 0.12485,
    "h": 109.5
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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