#8E9722#8E9722

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

Color values

HEX#8E9722
RGBrgb(142, 151, 34)
HSLhsl(65, 63%, 36%)
HSVhsv(65, 77%, 59%)
CMYKcmyk(6%, 0%, 77.5%, 40.8%)
CIE-LABlab(59.89, -17.75, 55.89)
CIE-LCHlch(59.89, 58.64, 107.62°)
OKLaboklab(64.81% -0.0547 0.1225)
OKLCHoklch(64.81% 0.134 114.1)
XYZxyz(22.5114, 27.9999, 5.7317)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9722 #2B2297
analogous
#976622 #8E9722 #549722
triadic
#8E9722 #228E97 #97228E
tetradic
#8E9722 #229766 #2B2297 #972254
square
#8E9722 #229766 #2B2297 #972254
split-complementary
#8E9722 #225497 #662297
monochromatic
#30330C #5F6517 #8E9722 #BDC92D #D0DA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E9722#FFFFFF#000000##000000
##8E97221.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)
#A28F03
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#988E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e9722;
/* rgb */ color: rgb(142, 151, 34);
/* oklch */ color: oklch(64.8% 0.134 114.1);
Tailwind
colors: {
  custom: {
    50: '#b2b567',
    500: '#8e9722',
    950: '#000000',
  },
}
SCSS
$custom: #8e9722;
$custom-light: #b2b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9722",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 64.615,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64813,
    "c": 0.13417,
    "h": 114.1
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

primary
#8E9722
secondary
#5F57BE
accent
#42E64E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9722

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

Preview Lab → · Contrast checker → · Palette generator →

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