#8D9C22#8D9C22

#8D9C22 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.140 H 116.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D9C22
RGBrgb(141, 156, 34)
HSLhsl(67, 64%, 37%)
HSVhsv(67, 78%, 61%)
CMYKcmyk(9.6%, 0%, 78.2%, 38.8%)
CIE-LABlab(61.27, -20.75, 57.12)
CIE-LCHlch(61.27, 60.77, 109.96°)
OKLaboklab(65.9% -0.0629 0.1252)
OKLCHoklch(65.9% 0.14 116.7)
XYZxyz(23.1623, 29.5555, 5.9977)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9C22 #31229C
analogous
#9C6E22 #8D9C22 #509C22
triadic
#8D9C22 #228D9C #9C228D
tetradic
#8D9C22 #229C6E #31229C #9C2250
square
#8D9C22 #229C6E #31229C #9C2250
split-complementary
#8D9C22 #22509C #6E229C
monochromatic
#32380C #606A17 #8D9C22 #BACE2D #CCDC5D

Accessibility & contrast

On white

3.04
#8D9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8D9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9C22
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9C22#FFFFFF#000000##000000
##8D9C221.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#969385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d9c22;
/* rgb */ color: rgb(141, 156, 34);
/* oklch */ color: oklch(65.9% 0.140 116.7);
Tailwind
colors: {
  custom: {
    50: '#b2b968',
    500: '#8d9c22',
    950: '#000000',
  },
}
SCSS
$custom: #8d9c22;
$custom-light: #b2b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9c22",
  "rgb": {
    "r": 141,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 67.377,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65902,
    "c": 0.1401,
    "h": 116.7
  },
  "luminance": 0.29555
}

Semantic roles & 50–950 ramp

primary
#8D9C22
secondary
#665AC0
accent
#41E755
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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