#8D8D1D#8D8D1D

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

Color values

HEX#8D8D1D
RGBrgb(141, 141, 29)
HSLhsl(60, 66%, 33%)
HSVhsv(60, 79%, 55%)
CMYKcmyk(0%, 0%, 79.4%, 44.7%)
CIE-LABlab(56.88, -13.17, 54.73)
CIE-LCHlch(56.88, 56.29, 103.53°)
OKLaboklab(62.38% -0.0423 0.1191)
OKLCHoklch(62.38% 0.126 109.6)
XYZxyz(20.7319, 24.8018, 4.8573)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D1D #1D1D8D
analogous
#8D551D #8D8D1D #558D1D
triadic
#8D8D1D #1D8D8D #8D1D8D
tetradic
#8D8D1D #1D8D55 #1D1D8D #8D1D55
square
#8D8D1D #1D8D55 #1D1D8D #8D1D55
split-complementary
#8D8D1D #1D558D #551D8D
monochromatic
#272708 #5A5A13 #8D8D1D #C0C027 #DADA4B

Accessibility & contrast

On white

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

On black

5.96
#8D8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D1D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D1D#FFFFFF#000000##000000
##8D8D1D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#988478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d1d;
/* rgb */ color: rgb(141, 141, 29);
/* oklch */ color: oklch(62.4% 0.126 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae64',
    500: '#8d8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d1d;
$custom-light: #b2ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d1d",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.12644,
    "h": 109.6
  },
  "luminance": 0.24801
}

Semantic roles & 50–950 ramp

primary
#8D8D1D
secondary
#4A4ABC
accent
#3FE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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