#8E9D20#8E9D20

#8E9D20 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.142 H 116.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E9D20
RGBrgb(142, 157, 32)
HSLhsl(67, 66%, 37%)
HSVhsv(67, 80%, 62%)
CMYKcmyk(9.6%, 0%, 79.6%, 38.4%)
CIE-LABlab(61.63, -20.90, 58.10)
CIE-LCHlch(61.63, 61.74, 109.79°)
OKLaboklab(66.21% -0.0636 0.1269)
OKLCHoklch(66.21% 0.142 116.6)
XYZxyz(23.4736, 29.9693, 5.9143)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D20 #2F209D
analogous
#9D6E20 #8E9D20 #509D20
triadic
#8E9D20 #208E9D #9D208E
tetradic
#8E9D20 #209D6E #2F209D #9D2050
square
#8E9D20 #209D6E #2F209D #9D2050
split-complementary
#8E9D20 #20509D #6E209D
monochromatic
#32370B #606A16 #8E9D20 #BCD02A #CEDD5A

Accessibility & contrast

On white

3.00
#8E9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8E9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9D20
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D20#FFFFFF#000000##000000
##8E9D201.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9d20;
/* rgb */ color: rgb(142, 157, 32);
/* oklch */ color: oklch(66.2% 0.142 116.6);
Tailwind
colors: {
  custom: {
    50: '#b3b967',
    500: '#8e9d20',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d20;
$custom-light: #b3b967;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d20",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 67.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.14188,
    "h": 116.6
  },
  "luminance": 0.29969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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