#8D9222#8D9222

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

Color values

HEX#8D9222
RGBrgb(141, 146, 34)
HSLhsl(63, 62%, 35%)
HSVhsv(63, 77%, 57%)
CMYKcmyk(3.4%, 0%, 76.7%, 42.7%)
CIE-LABlab(58.36, -15.60, 54.44)
CIE-LCHlch(58.36, 56.63, 105.98°)
OKLaboklab(63.57% -0.0487 0.1195)
OKLCHoklch(63.57% 0.129 112.2)
XYZxyz(21.5528, 26.3365, 5.4612)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9222 #272292
analogous
#925F22 #8D9222 #559222
triadic
#8D9222 #228D92 #92228D
tetradic
#8D9222 #22925F #272292 #922255
square
#8D9222 #22925F #272292 #922255
split-complementary
#8D9222 #225592 #5F2292
monochromatic
#2D2F0B #5D6016 #8D9222 #BDC42E #D2D857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9222#FFFFFF#000000##000000
##8D92221.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)
#9E8B06
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9222;
/* rgb */ color: rgb(141, 146, 34);
/* oklch */ color: oklch(63.6% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8d9222',
    950: '#000000',
  },
}
SCSS
$custom: #8d9222;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9222",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 62.679,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63565,
    "c": 0.12901,
    "h": 112.2
  },
  "luminance": 0.26336
}

Semantic roles & 50–950 ramp

primary
#8D9222
secondary
#5954BC
accent
#43E54A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9222

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

Preview Lab → · Contrast checker → · Palette generator →

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