#8D9A2D#8D9A2D

#8D9A2D is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.131 H 116.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D9A2D
RGBrgb(141, 154, 45)
HSLhsl(67, 55%, 39%)
HSVhsv(67, 71%, 60%)
CMYKcmyk(8.4%, 0%, 70.8%, 39.6%)
CIE-LABlab(60.75, -19.17, 52.74)
CIE-LCHlch(60.75, 56.12, 109.98°)
OKLaboklab(65.51% -0.0576 0.1179)
OKLCHoklch(65.51% 0.131 116)
XYZxyz(23.0143, 28.9637, 6.8603)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A2D #3A2D9A
analogous
#9A712D #8D9A2D #579A2D
triadic
#8D9A2D #2D8D9A #9A2D8D
tetradic
#8D9A2D #2D9A71 #3A2D9A #9A2D57
square
#8D9A2D #2D9A71 #3A2D9A #9A2D57
split-complementary
#8D9A2D #2D579A #712D9A
monochromatic
#363B11 #626B1F #8D9A2D #B6C73E #C8D46D

Accessibility & contrast

On white

3.09
#8D9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8D9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A2D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A2D#FFFFFF#000000##000000
##8D9A2D1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#969185
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9a2d;
/* rgb */ color: rgb(141, 154, 45);
/* oklch */ color: oklch(65.5% 0.131 116.0);
Tailwind
colors: {
  custom: {
    50: '#b1b76d',
    500: '#8d9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a2d;
$custom-light: #b1b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a2d",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 67.156,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.13117,
    "h": 116
  },
  "luminance": 0.28963
}

Semantic roles & 50–950 ramp

primary
#8D9A2D
secondary
#7167BB
accent
#4ADE5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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