#8D9020#8D9020

#8D9020 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.128 H 111.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D9020
RGBrgb(141, 144, 32)
HSLhsl(62, 64%, 35%)
HSVhsv(62, 78%, 56%)
CMYKcmyk(2.1%, 0%, 77.8%, 43.5%)
CIE-LABlab(57.76, -14.63, 54.56)
CIE-LCHlch(57.76, 56.49, 105.01°)
OKLaboklab(63.09% -0.0462 0.1194)
OKLCHoklch(63.09% 0.128 111.1)
XYZxyz(21.2192, 25.7141, 5.2118)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9020 #232090
analogous
#905B20 #8D9020 #559020
triadic
#8D9020 #208D90 #90208D
tetradic
#8D9020 #20905B #232090 #902055
square
#8D9020 #20905B #232090 #902055
split-complementary
#8D9020 #205590 #5B2090
monochromatic
#2B2C0A #5C5E15 #8D9020 #BEC22B #D5D952

Accessibility & contrast

On white

3.42
#8D9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8D9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9020
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9020#FFFFFF#000000##000000
##8D90201.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8902
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#97877B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9020;
/* rgb */ color: rgb(141, 144, 32);
/* oklch */ color: oklch(63.1% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#b2b066',
    500: '#8d9020',
    950: '#000000',
  },
}
SCSS
$custom: #8d9020;
$custom-light: #b2b066;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9020",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 61.607,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63089,
    "c": 0.12797,
    "h": 111.1
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#8D9020
secondary
#5350BC
accent
#41E746
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9020

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

Preview Lab → · Contrast checker → · Palette generator →

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