#8E9720#8E9720

#8E9720 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.135 H 114.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8E9720
RGBrgb(142, 151, 32)
HSLhsl(65, 65%, 36%)
HSVhsv(65, 79%, 59%)
CMYKcmyk(6%, 0%, 78.8%, 40.8%)
CIE-LABlab(59.88, -17.84, 56.52)
CIE-LCHlch(59.88, 59.27, 107.51°)
OKLaboklab(64.8% -0.0551 0.1235)
OKLCHoklch(64.8% 0.135 114)
XYZxyz(22.4833, 27.9887, 5.5842)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9720 #292097
analogous
#976420 #8E9720 #529720
triadic
#8E9720 #208E97 #97208E
tetradic
#8E9720 #209764 #292097 #972052
square
#8E9720 #209764 #292097 #972052
split-complementary
#8E9720 #205297 #642097
monochromatic
#2F320B #5F6415 #8E9720 #BDC92B #D1DB56

Accessibility & contrast

On white

3.18
#8E9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8E9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9720
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9720#FFFFFF#000000##000000
##8E97201.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#988E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e9720;
/* rgb */ color: rgb(142, 151, 32);
/* oklch */ color: oklch(64.8% 0.135 114.0);
Tailwind
colors: {
  custom: {
    50: '#b3b566',
    500: '#8e9720',
    950: '#000000',
  },
}
SCSS
$custom: #8e9720;
$custom-light: #b3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9720",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 64.538,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.13522,
    "h": 114
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#8E9720
secondary
#5C54BF
accent
#40E84D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9720

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

Preview Lab → · Contrast checker → · Palette generator →

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