#8D9D22#8D9D22

#8D9D22 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.141 H 117.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D9D22
RGBrgb(141, 157, 34)
HSLhsl(68, 64%, 37%)
HSVhsv(68, 78%, 62%)
CMYKcmyk(10.2%, 0%, 78.3%, 38.4%)
CIE-LABlab(61.56, -21.25, 57.39)
CIE-LCHlch(61.56, 61.20, 110.32°)
OKLaboklab(66.14% -0.0643 0.1257)
OKLCHoklch(66.14% 0.141 117.1)
XYZxyz(23.3308, 29.8924, 6.0538)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D22 #32229D
analogous
#9D7022 #8D9D22 #4F9D22
triadic
#8D9D22 #228D9D #9D228D
tetradic
#8D9D22 #229D70 #32229D #9D224F
square
#8D9D22 #229D70 #32229D #9D224F
split-complementary
#8D9D22 #224F9D #70229D
monochromatic
#33380C #606B17 #8D9D22 #BACF2D #CCDC5D

Accessibility & contrast

On white

3.01
#8D9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D22
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D22#FFFFFF#000000##000000
##8D9D221.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d22;
/* rgb */ color: rgb(141, 157, 34);
/* oklch */ color: oklch(66.1% 0.141 117.1);
Tailwind
colors: {
  custom: {
    50: '#b2b968',
    500: '#8d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d22;
$custom-light: #b2b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d22",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 67.805,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66137,
    "c": 0.14124,
    "h": 117.1
  },
  "luminance": 0.29892
}

Semantic roles & 50–950 ramp

primary
#8D9D22
secondary
#685AC1
accent
#40E756
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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