#8D9221#8D9221

#8D9221 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.6% C 0.130 H 112.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D9221
RGBrgb(141, 146, 33)
HSLhsl(63, 63%, 35%)
HSVhsv(63, 77%, 57%)
CMYKcmyk(3.4%, 0%, 77.4%, 42.7%)
CIE-LABlab(58.35, -15.64, 54.77)
CIE-LCHlch(58.35, 56.96, 105.94°)
OKLaboklab(63.56% -0.0489 0.12)
OKLCHoklch(63.56% 0.13 112.2)
XYZxyz(21.5386, 26.3308, 5.3863)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9221 #262192
analogous
#925F21 #8D9221 #549221
triadic
#8D9221 #218D92 #92218D
tetradic
#8D9221 #21925F #262192 #922154
square
#8D9221 #21925F #262192 #922154
split-complementary
#8D9221 #215492 #5F2192
monochromatic
#2D2E0A #5D6016 #8D9221 #BDC42C #D3D955

Accessibility & contrast

On white

3.35
#8D9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8D9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9221
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9221#FFFFFF#000000##000000
##8D92211.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9221;
/* rgb */ color: rgb(141, 146, 33);
/* oklch */ color: oklch(63.6% 0.130 112.2);
Tailwind
colors: {
  custom: {
    50: '#b2b166',
    500: '#8d9221',
    950: '#000000',
  },
}
SCSS
$custom: #8d9221;
$custom-light: #b2b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9221",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 62.655,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.12956,
    "h": 112.2
  },
  "luminance": 0.2633
}

Semantic roles & 50–950 ramp

primary
#8D9221
secondary
#5753BC
accent
#42E649
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9221

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

Preview Lab → · Contrast checker → · Palette generator →

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