#8D9E22#8D9E22

#8D9E22 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.4% C 0.142 H 117.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D9E22
RGBrgb(141, 158, 34)
HSLhsl(68, 65%, 38%)
HSVhsv(68, 78%, 62%)
CMYKcmyk(10.8%, 0%, 78.5%, 38%)
CIE-LABlab(61.85, -21.76, 57.66)
CIE-LCHlch(61.85, 61.63, 110.67°)
OKLaboklab(66.37% -0.0657 0.1263)
OKLCHoklch(66.37% 0.142 117.5)
XYZxyz(23.5007, 30.2322, 6.1104)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E22 #33229E
analogous
#9E7122 #8D9E22 #4F9E22
triadic
#8D9E22 #228D9E #9E228D
tetradic
#8D9E22 #229E71 #33229E #9E224F
square
#8D9E22 #229E71 #33229E #9E224F
split-complementary
#8D9E22 #224F9E #71229E
monochromatic
#33390C #606C17 #8D9E22 #BAD02D #CBDC5E

Accessibility & contrast

On white

2.98
#8D9E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8D9E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E22
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E22#FFFFFF#000000##000000
##8D9E221.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#969587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e22;
/* rgb */ color: rgb(141, 158, 34);
/* oklch */ color: oklch(66.4% 0.142 117.5);
Tailwind
colors: {
  custom: {
    50: '#b2ba68',
    500: '#8d9e22',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e22;
$custom-light: #b2ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e22",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 68.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66372,
    "c": 0.14238,
    "h": 117.5
  },
  "luminance": 0.30232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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