#8D9C20#8D9C20

#8D9C20 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.9% C 0.141 H 116.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D9C20
RGBrgb(141, 156, 32)
HSLhsl(67, 66%, 37%)
HSVhsv(67, 79%, 61%)
CMYKcmyk(9.6%, 0%, 79.5%, 38.8%)
CIE-LABlab(61.26, -20.83, 57.74)
CIE-LCHlch(61.26, 61.38, 109.84°)
OKLaboklab(65.89% -0.0633 0.1261)
OKLCHoklch(65.89% 0.141 116.7)
XYZxyz(23.1343, 29.5443, 5.8501)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C20 #2F209C
analogous
#9C6D20 #8D9C20 #4F9C20
triadic
#8D9C20 #208D9C #9C208D
tetradic
#8D9C20 #209C6D #2F209C #9C204F
square
#8D9C20 #209C6D #2F209C #9C204F
split-complementary
#8D9C20 #204F9C #6D209C
monochromatic
#31360B #5F6916 #8D9C20 #BBCF2A #CDDD59

Accessibility & contrast

On white

3.04
#8D9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8D9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C20
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C20#FFFFFF#000000##000000
##8D9C201.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#969385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c20;
/* rgb */ color: rgb(141, 156, 32);
/* oklch */ color: oklch(65.9% 0.141 116.7);
Tailwind
colors: {
  custom: {
    50: '#b2b967',
    500: '#8d9c20',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c20;
$custom-light: #b2b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c20",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 67.258,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65891,
    "c": 0.14112,
    "h": 116.7
  },
  "luminance": 0.29544
}

Semantic roles & 50–950 ramp

primary
#8D9C20
secondary
#6457C1
accent
#3FE953
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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