#8E9E22#8E9E22

#8E9E22 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.5% C 0.142 H 117.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8E9E22
RGBrgb(142, 158, 34)
HSLhsl(68, 65%, 38%)
HSVhsv(68, 78%, 62%)
CMYKcmyk(10.1%, 0%, 78.5%, 38%)
CIE-LABlab(61.93, -21.32, 57.76)
CIE-LCHlch(61.93, 61.57, 110.26°)
OKLaboklab(66.45% -0.0646 0.1265)
OKLCHoklch(66.45% 0.142 117)
XYZxyz(23.6715, 30.3203, 6.1185)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E22 #32229E
analogous
#9E7022 #8E9E22 #509E22
triadic
#8E9E22 #228E9E #9E228E
tetradic
#8E9E22 #229E70 #32229E #9E2250
square
#8E9E22 #229E70 #32229E #9E2250
split-complementary
#8E9E22 #22509E #70229E
monochromatic
#33390C #616C17 #8E9E22 #BBD02D #CCDC5E

Accessibility & contrast

On white

2.97
#8E9E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8E9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E22
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E22#FFFFFF#000000##000000
##8E9E221.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#979587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e22;
/* rgb */ color: rgb(142, 158, 34);
/* oklch */ color: oklch(66.5% 0.142 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3ba68',
    500: '#8e9e22',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e22;
$custom-light: #b3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e22",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 67.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.14201,
    "h": 117
  },
  "luminance": 0.3032
}

Semantic roles & 50–950 ramp

primary
#8E9E22
secondary
#685BC1
accent
#40E856
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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