#8D9E20#8D9E20

#8D9E20 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.4% C 0.143 H 117.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D9E20
RGBrgb(141, 158, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.8%, 0%, 79.7%, 38%)
CIE-LABlab(61.84, -21.84, 58.26)
CIE-LCHlch(61.84, 62.22, 110.55°)
OKLaboklab(66.36% -0.0661 0.1272)
OKLCHoklch(66.36% 0.143 117.4)
XYZxyz(23.4727, 30.2210, 5.9629)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E20 #31209E
analogous
#9E7020 #8D9E20 #4E9E20
triadic
#8D9E20 #208D9E #9E208D
tetradic
#8D9E20 #209E70 #31209E #9E204E
square
#8D9E20 #209E70 #31209E #9E204E
split-complementary
#8D9E20 #204E9E #70209E
monochromatic
#32380B #606B16 #8D9E20 #BAD12A #CCDE5B

Accessibility & contrast

On white

2.98
#8D9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8D9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E20
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E20#FFFFFF#000000##000000
##8D9E201.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#969587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e20;
/* rgb */ color: rgb(141, 158, 32);
/* oklch */ color: oklch(66.4% 0.143 117.4);
Tailwind
colors: {
  custom: {
    50: '#b2ba67',
    500: '#8d9e20',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e20;
$custom-light: #b2ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e20",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 68.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.14338,
    "h": 117.4
  },
  "luminance": 0.30221
}

Semantic roles & 50–950 ramp

primary
#8D9E20
secondary
#6658C2
accent
#3FE956
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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