#8E9820#8E9820

#8E9820 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.136 H 114.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8E9820
RGBrgb(142, 152, 32)
HSLhsl(65, 65%, 36%)
HSVhsv(65, 79%, 60%)
CMYKcmyk(6.6%, 0%, 78.9%, 40.4%)
CIE-LABlab(60.17, -18.35, 56.78)
CIE-LCHlch(60.17, 59.67, 107.91°)
OKLaboklab(65.04% -0.0565 0.1241)
OKLCHoklch(65.04% 0.136 114.5)
XYZxyz(22.6450, 28.3120, 5.6381)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9820 #2A2098
analogous
#986620 #8E9820 #529820
triadic
#8E9820 #208E98 #98208E
tetradic
#8E9820 #209866 #2A2098 #982052
square
#8E9820 #209866 #2A2098 #982052
split-complementary
#8E9820 #205298 #662098
monochromatic
#30330B #5F6515 #8E9820 #BDCB2B #D1DC57

Accessibility & contrast

On white

3.15
#8E9820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8E9820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9820
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9820#FFFFFF#000000##000000
##8E98201.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#988F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e9820;
/* rgb */ color: rgb(142, 152, 32);
/* oklch */ color: oklch(65.0% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b667',
    500: '#8e9820',
    950: '#000000',
  },
}
SCSS
$custom: #8e9820;
$custom-light: #b3b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9820",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 65,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65035,
    "c": 0.13632,
    "h": 114.5
  },
  "luminance": 0.28312
}

Semantic roles & 50–950 ramp

primary
#8E9820
secondary
#5D54BF
accent
#40E84E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9820

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

Preview Lab → · Contrast checker → · Palette generator →

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