#8D9D1D#8D9D1D

#8D9D1D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.144 H 117.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D9D1D
RGBrgb(141, 157, 29)
HSLhsl(68, 69%, 36%)
HSVhsv(68, 82%, 62%)
CMYKcmyk(10.2%, 0%, 81.5%, 38.4%)
CIE-LABlab(61.54, -21.45, 58.86)
CIE-LCHlch(61.54, 62.65, 110.02°)
OKLaboklab(66.11% -0.0652 0.128)
OKLCHoklch(66.11% 0.144 117)
XYZxyz(23.2639, 29.8657, 5.7013)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1D #2D1D9D
analogous
#9D6D1D #8D9D1D #4D9D1D
triadic
#8D9D1D #1D8D9D #9D1D8D
tetradic
#8D9D1D #1D9D6D #2D1D9D #9D1D4D
square
#8D9D1D #1D9D6D #2D1D9D #9D1D4D
split-complementary
#8D9D1D #1D4D9D #6D1D9D
monochromatic
#30360A #5F6913 #8D9D1D #BBD127 #CEE055

Accessibility & contrast

On white

3.01
#8D9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8D9D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D1D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D1D#FFFFFF#000000##000000
##8D9D1D1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7952A
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d1d;
/* rgb */ color: rgb(141, 157, 29);
/* oklch */ color: oklch(66.1% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b966',
    500: '#8d9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1d;
$custom-light: #b2b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1d",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 67.5,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66111,
    "c": 0.14366,
    "h": 117
  },
  "luminance": 0.29865
}

Semantic roles & 50–950 ramp

primary
#8D9D1D
secondary
#6153C3
accent
#3CEC52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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