#8E9922#8E9922

#8E9922 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.3% C 0.136 H 115.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E9922
RGBrgb(142, 153, 34)
HSLhsl(66, 64%, 37%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.2%, 0%, 77.8%, 40%)
CIE-LABlab(60.47, -18.78, 56.42)
CIE-LCHlch(60.47, 59.47, 108.41°)
OKLaboklab(65.28% -0.0575 0.1237)
OKLCHoklch(65.28% 0.136 115)
XYZxyz(22.8360, 28.6492, 5.8399)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9922 #2D2299
analogous
#996922 #8E9922 #539922
triadic
#8E9922 #228E99 #99228E
tetradic
#8E9922 #229969 #2D2299 #992253
square
#8E9922 #229969 #2D2299 #992253
split-complementary
#8E9922 #225399 #692299
monochromatic
#31350C #606717 #8E9922 #BCCB2D #CFDB5B

Accessibility & contrast

On white

3.12
#8E9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8E9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9922
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9922#FFFFFF#000000##000000
##8E99221.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49101
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#989083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9922;
/* rgb */ color: rgb(142, 153, 34);
/* oklch */ color: oklch(65.3% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b668',
    500: '#8e9922',
    950: '#000000',
  },
}
SCSS
$custom: #8e9922;
$custom-light: #b2b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9922",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 65.546,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6528,
    "c": 0.13639,
    "h": 115
  },
  "luminance": 0.28649
}

Semantic roles & 50–950 ramp

primary
#8E9922
secondary
#6158BF
accent
#41E750
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9922

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

Preview Lab → · Contrast checker → · Palette generator →

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