#8D9D2E#8D9D2E

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

Color values

HEX#8D9D2E
RGBrgb(141, 157, 46)
HSLhsl(69, 55%, 40%)
HSVhsv(69, 71%, 62%)
CMYKcmyk(10.2%, 0%, 70.7%, 38.4%)
CIE-LABlab(61.63, -20.64, 53.23)
CIE-LCHlch(61.63, 57.10, 111.20°)
OKLaboklab(66.22% -0.0616 0.1191)
OKLCHoklch(66.22% 0.134 117.3)
XYZxyz(23.5351, 29.9742, 7.1300)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D2E #3E2E9D
analogous
#9D762E #8D9D2E #559D2E
triadic
#8D9D2E #2E8D9D #9D2E8D
tetradic
#8D9D2E #2E9D76 #3E2E9D #9D2E55
square
#8D9D2E #2E9D76 #3E2E9D #9D2E55
split-complementary
#8D9D2E #2E559D #762E9D
monochromatic
#383E12 #626E20 #8D9D2E #B4C741 #C7D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9D2E#FFFFFF#000000##000000
##8D9D2E1.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)
#A8941C
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#969487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d2e;
/* rgb */ color: rgb(141, 157, 46);
/* oklch */ color: oklch(66.2% 0.134 117.3);
Tailwind
colors: {
  custom: {
    50: '#b1b96e',
    500: '#8d9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d2e;
$custom-light: #b1b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d2e",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 68.649,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.13405,
    "h": 117.3
  },
  "luminance": 0.29974
}

Semantic roles & 50–950 ramp

primary
#8D9D2E
secondary
#766ABD
accent
#4ADE5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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