#8D8D2A#8D8D2A

#8D8D2A is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.119 H 109.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8D8D2A
RGBrgb(141, 141, 42)
HSLhsl(60, 54%, 36%)
HSVhsv(60, 70%, 55%)
CMYKcmyk(0%, 0%, 70.2%, 44.7%)
CIE-LABlab(56.96, -12.55, 50.15)
CIE-LCHlch(56.96, 51.70, 104.05°)
OKLaboklab(62.46% -0.0394 0.1119)
OKLCHoklch(62.46% 0.119 109.4)
XYZxyz(20.9280, 24.8803, 5.8900)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D2A #2A2A8D
analogous
#8D5B2A #8D8D2A #5B8D2A
triadic
#8D8D2A #2A8D8D #8D2A8D
tetradic
#8D8D2A #2A8D5B #2A2A8D #8D2A5B
square
#8D8D2A #2A8D5B #2A2A8D #8D2A5B
split-complementary
#8D8D2A #2A5B8D #5B2A8D
monochromatic
#2F2F0E #5E5E1C #8D8D2A #BCBC38 #D0D061

Accessibility & contrast

On white

3.51
#8D8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8D8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D2A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D2A#FFFFFF#000000##000000
##8D8D2A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8d2a;
/* rgb */ color: rgb(141, 141, 42);
/* oklch */ color: oklch(62.5% 0.119 109.4);
Tailwind
colors: {
  custom: {
    50: '#b1ae6a',
    500: '#8d8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d2a;
$custom-light: #b1ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d2a",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62464,
    "c": 0.11862,
    "h": 109.4
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#8D8D2A
secondary
#5D5DB6
accent
#4ADD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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