#8E9A22#8E9A22

#8E9A22 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.138 H 115.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8E9A22
RGBrgb(142, 154, 34)
HSLhsl(66, 64%, 37%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.8%, 0%, 77.9%, 39.6%)
CIE-LABlab(60.76, -19.29, 56.69)
CIE-LCHlch(60.76, 59.88, 108.79°)
OKLaboklab(65.51% -0.059 0.1242)
OKLCHoklch(65.51% 0.138 115.4)
XYZxyz(23.0003, 28.9779, 5.8947)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9A22 #2E229A
analogous
#9A6A22 #8E9A22 #529A22
triadic
#8E9A22 #228E9A #9A228E
tetradic
#8E9A22 #229A6A #2E229A #9A2252
square
#8E9A22 #229A6A #2E229A #9A2252
split-complementary
#8E9A22 #22529A #6A229A
monochromatic
#32360C #606817 #8E9A22 #BCCC2D #CEDB5B

Accessibility & contrast

On white

3.09
#8E9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8E9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9A22
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9A22#FFFFFF#000000##000000
##8E9A221.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59201
Deuteranopia (green-blind)
#A5932D
Tritanopia (blue-blind)
#989184
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8e9a22;
/* rgb */ color: rgb(142, 154, 34);
/* oklch */ color: oklch(65.5% 0.138 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b768',
    500: '#8e9a22',
    950: '#000000',
  },
}
SCSS
$custom: #8e9a22;
$custom-light: #b2b768;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9a22",
  "rgb": {
    "r": 142,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 66,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65514,
    "c": 0.1375,
    "h": 115.4
  },
  "luminance": 0.28977
}

Semantic roles & 50–950 ramp

primary
#8E9A22
secondary
#6358BF
accent
#41E752
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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