#8D8F22#8D8F22

#8D8F22 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.126 H 110.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8D8F22
RGBrgb(141, 143, 34)
HSLhsl(61, 62%, 35%)
HSVhsv(61, 76%, 56%)
CMYKcmyk(1.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(57.49, -14.02, 53.63)
CIE-LCHlch(57.49, 55.44, 104.65°)
OKLaboklab(62.87% -0.0443 0.1178)
OKLCHoklch(62.87% 0.126 110.6)
XYZxyz(21.0964, 25.4237, 5.3090)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F22 #24228F
analogous
#8F5B22 #8D8F22 #578F22
triadic
#8D8F22 #228D8F #8F228D
tetradic
#8D8F22 #228F5B #24228F #8F2257
square
#8D8F22 #228F5B #24228F #8F2257
split-complementary
#8D8F22 #22578F #5B228F
monochromatic
#2B2C0A #5C5E16 #8D8F22 #BEC02E #D4D755

Accessibility & contrast

On white

3.45
#8D8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8D8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F22
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F22#FFFFFF#000000##000000
##8D8F221.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8808
Deuteranopia (green-blind)
#9C8B2B
Tritanopia (blue-blind)
#97867A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f22;
/* rgb */ color: rgb(141, 143, 34);
/* oklch */ color: oklch(62.9% 0.126 110.6);
Tailwind
colors: {
  custom: {
    50: '#b2af66',
    500: '#8d8f22',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f22;
$custom-light: #b2af66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f22",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 61.101,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.12582,
    "h": 110.6
  },
  "luminance": 0.25423
}

Semantic roles & 50–950 ramp

primary
#8D8F22
secondary
#5452BA
accent
#43E546
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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