#8E9F20#8E9F20

#8E9F20 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.144 H 117.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E9F20
RGBrgb(142, 159, 32)
HSLhsl(68, 66%, 37%)
HSVhsv(68, 80%, 62%)
CMYKcmyk(10.7%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.21, -21.91, 58.62)
CIE-LCHlch(62.21, 62.58, 110.49°)
OKLaboklab(66.68% -0.0663 0.128)
OKLCHoklch(66.68% 0.144 117.4)
XYZxyz(23.8148, 30.6516, 6.0280)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9F20 #31209F
analogous
#9F7020 #8E9F20 #4F9F20
triadic
#8E9F20 #208E9F #9F208E
tetradic
#8E9F20 #209F70 #31209F #9F204F
square
#8E9F20 #209F70 #31209F #9F204F
split-complementary
#8E9F20 #204F9F #70209F
monochromatic
#33390B #616C16 #8E9F20 #BCD22A #CDDE5B

Accessibility & contrast

On white

2.95
#8E9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8E9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9F20
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9F20#FFFFFF#000000##000000
##8E9F201.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#979688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9f20;
/* rgb */ color: rgb(142, 159, 32);
/* oklch */ color: oklch(66.7% 0.144 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bb68',
    500: '#8e9f20',
    950: '#000000',
  },
}
SCSS
$custom: #8e9f20;
$custom-light: #b3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9f20",
  "rgb": {
    "r": 142,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 68.031,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66677,
    "c": 0.14414,
    "h": 117.4
  },
  "luminance": 0.30651
}

Semantic roles & 50–950 ramp

primary
#8E9F20
secondary
#6759C2
accent
#3EE955
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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