#8E9420#8E9420

#8E9420 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.132 H 112.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8E9420
RGBrgb(142, 148, 32)
HSLhsl(63, 64%, 35%)
HSVhsv(63, 78%, 58%)
CMYKcmyk(4.1%, 0%, 78.4%, 42%)
CIE-LABlab(59.01, -16.28, 55.73)
CIE-LCHlch(59.01, 58.06, 106.29°)
OKLaboklab(64.1% -0.0508 0.1218)
OKLCHoklch(64.1% 0.132 112.6)
XYZxyz(22.0067, 27.0354, 5.4253)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9420 #262094
analogous
#946020 #8E9420 #549420
triadic
#8E9420 #208E94 #94208E
tetradic
#8E9420 #209460 #262094 #942054
square
#8E9420 #209460 #262094 #942054
split-complementary
#8E9420 #205494 #602094
monochromatic
#2D2F0A #5E6215 #8E9420 #BEC62B #D3DA54

Accessibility & contrast

On white

3.28
#8E9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8E9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9420
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9420#FFFFFF#000000##000000
##8E94201.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#988B7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e9420;
/* rgb */ color: rgb(142, 148, 32);
/* oklch */ color: oklch(64.1% 0.132 112.6);
Tailwind
colors: {
  custom: {
    50: '#b2b366',
    500: '#8e9420',
    950: '#000000',
  },
}
SCSS
$custom: #8e9420;
$custom-light: #b2b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9420",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 63.103,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.13197,
    "h": 112.6
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

primary
#8E9420
secondary
#5852BE
accent
#40E749
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9420

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

Preview Lab → · Contrast checker → · Palette generator →

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