#8D952D#8D952D

#8D952D is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.125 H 113.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8D952D
RGBrgb(141, 149, 45)
HSLhsl(65, 54%, 38%)
HSVhsv(65, 70%, 58%)
CMYKcmyk(5.4%, 0%, 69.8%, 41.6%)
CIE-LABlab(59.29, -16.59, 51.29)
CIE-LCHlch(59.29, 53.91, 107.93°)
OKLaboklab(64.34% -0.0504 0.1148)
OKLCHoklch(64.34% 0.125 113.7)
XYZxyz(22.2062, 27.3475, 6.5909)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D952D #352D95
analogous
#95692D #8D952D #59952D
triadic
#8D952D #2D8D95 #952D8D
tetradic
#8D952D #2D9569 #352D95 #952D59
square
#8D952D #2D9569 #352D95 #952D59
split-complementary
#8D952D #2D5995 #692D95
monochromatic
#343711 #61661F #8D952D #B9C43B #CAD26A

Accessibility & contrast

On white

3.25
#8D952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8D952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D952D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D952D#FFFFFF#000000##000000
##8D952D1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1D
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#968C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d952d;
/* rgb */ color: rgb(141, 149, 45);
/* oklch */ color: oklch(64.3% 0.125 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46d',
    500: '#8d952d',
    950: '#000000',
  },
}
SCSS
$custom: #8d952d;
$custom-light: #b1b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d952d",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 64.615,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.12538,
    "h": 113.7
  },
  "luminance": 0.27347
}

Semantic roles & 50–950 ramp

primary
#8D952D
secondary
#6B65B9
accent
#4BDD56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D952D

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

Preview Lab → · Contrast checker → · Palette generator →

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