#8D9F22#8D9F22

#8D9F22 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.144 H 117.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D9F22
RGBrgb(141, 159, 34)
HSLhsl(69, 65%, 38%)
HSVhsv(69, 79%, 62%)
CMYKcmyk(11.3%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.15, -22.26, 57.93)
CIE-LCHlch(62.15, 62.06, 111.02°)
OKLaboklab(66.61% -0.0671 0.1269)
OKLCHoklch(66.61% 0.144 117.9)
XYZxyz(23.6719, 30.5747, 6.1675)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F22 #34229F
analogous
#9F7222 #8D9F22 #4E9F22
triadic
#8D9F22 #228D9F #9F228D
tetradic
#8D9F22 #229F72 #34229F #9F224E
square
#8D9F22 #229F72 #34229F #9F224E
split-complementary
#8D9F22 #224E9F #72229F
monochromatic
#343A0C #606D17 #8D9F22 #BAD12D #CBDD5F

Accessibility & contrast

On white

2.95
#8D9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#8D9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F22
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F22#FFFFFF#000000##000000
##8D9F221.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9f22;
/* rgb */ color: rgb(141, 159, 34);
/* oklch */ color: oklch(66.6% 0.144 117.9);
Tailwind
colors: {
  custom: {
    50: '#b2bb68',
    500: '#8d9f22',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f22;
$custom-light: #b2bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f22",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 68.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66608,
    "c": 0.14353,
    "h": 117.9
  },
  "luminance": 0.30574
}

Semantic roles & 50–950 ramp

primary
#8D9F22
secondary
#6A5BC1
accent
#40E858
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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