#8D9D2D#8D9D2D

#8D9D2D is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.135 H 117.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8D9D2D
RGBrgb(141, 157, 45)
HSLhsl(69, 55%, 40%)
HSVhsv(69, 71%, 62%)
CMYKcmyk(10.2%, 0%, 71.3%, 38.4%)
CIE-LABlab(61.63, -20.70, 53.61)
CIE-LCHlch(61.63, 57.47, 111.11°)
OKLaboklab(66.21% -0.0618 0.1197)
OKLCHoklch(66.21% 0.135 117.3)
XYZxyz(23.5157, 29.9664, 7.0274)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D2D #3D2D9D
analogous
#9D752D #8D9D2D #559D2D
triadic
#8D9D2D #2D8D9D #9D2D8D
tetradic
#8D9D2D #2D9D75 #3D2D9D #9D2D55
square
#8D9D2D #2D9D75 #3D2D9D #9D2D55
split-complementary
#8D9D2D #2D559D #752D9D
monochromatic
#383E12 #626D1F #8D9D2D #B4C83F #C7D66F

Accessibility & contrast

On white

3.00
#8D9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8D9D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D2D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D2D#FFFFFF#000000##000000
##8D9D2D1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8941A
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#969487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d2d;
/* rgb */ color: rgb(141, 157, 45);
/* oklch */ color: oklch(66.2% 0.135 117.3);
Tailwind
colors: {
  custom: {
    50: '#b1b96d',
    500: '#8d9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d2d;
$custom-light: #b1b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d2d",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 68.571,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.13472,
    "h": 117.3
  },
  "luminance": 0.29966
}

Semantic roles & 50–950 ramp

primary
#8D9D2D
secondary
#7569BD
accent
#49DF5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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