#8E9E20#8E9E20

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

Color values

HEX#8E9E20
RGBrgb(142, 158, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.1%, 0%, 79.7%, 38%)
CIE-LABlab(61.92, -21.41, 58.36)
CIE-LCHlch(61.92, 62.16, 110.14°)
OKLaboklab(66.44% -0.0649 0.1274)
OKLCHoklch(66.44% 0.143 117)
XYZxyz(23.6435, 30.3091, 5.9709)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E20 #30209E
analogous
#9E6F20 #8E9E20 #4F9E20
triadic
#8E9E20 #208E9E #9E208E
tetradic
#8E9E20 #209E6F #30209E #9E204F
square
#8E9E20 #209E6F #30209E #9E204F
split-complementary
#8E9E20 #204F9E #6F209E
monochromatic
#33380B #606B16 #8E9E20 #BCD12A #CDDE5B

Accessibility & contrast

On white

2.97
#8E9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8E9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E20
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E20#FFFFFF#000000##000000
##8E9E201.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#979587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e20;
/* rgb */ color: rgb(142, 158, 32);
/* oklch */ color: oklch(66.4% 0.143 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3ba67',
    500: '#8e9e20',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e20;
$custom-light: #b3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e20",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 67.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.14301,
    "h": 117
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#8E9E20
secondary
#6558C2
accent
#3FE954
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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