#8D8E20#8D8E20

#8D8E20 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.126 H 110.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D8E20
RGBrgb(141, 142, 32)
HSLhsl(61, 63%, 34%)
HSVhsv(61, 77%, 56%)
CMYKcmyk(0.7%, 0%, 77.5%, 44.3%)
CIE-LABlab(57.19, -13.57, 54.03)
CIE-LCHlch(57.19, 55.71, 104.10°)
OKLaboklab(62.63% -0.0432 0.1182)
OKLCHoklch(62.63% 0.126 110.1)
XYZxyz(20.9190, 25.1136, 5.1117)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E20 #21208E
analogous
#8E5820 #8D8E20 #568E20
triadic
#8D8E20 #208D8E #8E208D
tetradic
#8D8E20 #208E58 #21208E #8E2056
square
#8D8E20 #208E58 #21208E #8E2056
split-complementary
#8D8E20 #20568E #58208E
monochromatic
#2A2A09 #5B5C15 #8D8E20 #BFC02B #D6D851

Accessibility & contrast

On white

3.49
#8D8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8D8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E20
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E20#FFFFFF#000000##000000
##8D8E201.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8804
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#978579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e20;
/* rgb */ color: rgb(141, 142, 32);
/* oklch */ color: oklch(62.6% 0.126 110.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae65',
    500: '#8d8e20',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e20;
$custom-light: #b2ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e20",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 60.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.12589,
    "h": 110.1
  },
  "luminance": 0.25113
}

Semantic roles & 50–950 ramp

primary
#8D8E20
secondary
#504FBB
accent
#42E643
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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