#8D8D22#8D8D22

#8D8D22 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.124 H 109.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D8D22
RGBrgb(141, 141, 34)
HSLhsl(60, 61%, 34%)
HSVhsv(60, 76%, 55%)
CMYKcmyk(0%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.91, -12.96, 53.10)
CIE-LCHlch(56.91, 54.65, 103.71°)
OKLaboklab(62.41% -0.0413 0.1166)
OKLCHoklch(62.41% 0.124 109.5)
XYZxyz(20.7989, 24.8286, 5.2098)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D22 #22228D
analogous
#8D5822 #8D8D22 #588D22
triadic
#8D8D22 #228D8D #8D228D
tetradic
#8D8D22 #228D58 #22228D #8D2258
square
#8D8D22 #228D58 #22228D #8D2258
split-complementary
#8D8D22 #22588D #58228D
monochromatic
#2A2A0A #5C5C16 #8D8D22 #BEBE2E #D6D654

Accessibility & contrast

On white

3.52
#8D8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D22
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D22#FFFFFF#000000##000000
##8D8D221.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#978479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8d22;
/* rgb */ color: rgb(141, 141, 34);
/* oklch */ color: oklch(62.4% 0.124 109.5);
Tailwind
colors: {
  custom: {
    50: '#b2ae66',
    500: '#8d8d22',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d22;
$custom-light: #b2ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d22",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.12372,
    "h": 109.5
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#8D8D22
secondary
#5151B9
accent
#44E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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