#8E9F22#8E9F22

#8E9F22 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.143 H 117.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E9F22
RGBrgb(142, 159, 34)
HSLhsl(68, 65%, 38%)
HSVhsv(68, 79%, 62%)
CMYKcmyk(10.7%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.22, -21.83, 58.02)
CIE-LCHlch(62.22, 61.99, 110.61°)
OKLaboklab(66.69% -0.066 0.1271)
OKLCHoklch(66.69% 0.143 117.4)
XYZxyz(23.8428, 30.6628, 6.1755)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9F22 #33229F
analogous
#9F7122 #8E9F22 #4F9F22
triadic
#8E9F22 #228E9F #9F228E
tetradic
#8E9F22 #229F71 #33229F #9F224F
square
#8E9F22 #229F71 #33229F #9F224F
split-complementary
#8E9F22 #224F9F #71229F
monochromatic
#343A0C #616D17 #8E9F22 #BBD12D #CCDD5F

Accessibility & contrast

On white

2.94
#8E9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8E9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9F22
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9F22#FFFFFF#000000##000000
##8E9F221.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#979688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9f22;
/* rgb */ color: rgb(142, 159, 34);
/* oklch */ color: oklch(66.7% 0.143 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bb68',
    500: '#8e9f22',
    950: '#000000',
  },
}
SCSS
$custom: #8e9f22;
$custom-light: #b3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9f22",
  "rgb": {
    "r": 142,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 68.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66687,
    "c": 0.14315,
    "h": 117.4
  },
  "luminance": 0.30663
}

Semantic roles & 50–950 ramp

primary
#8E9F22
secondary
#695BC1
accent
#40E857
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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