#8D952F#8D952F

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

Color values

HEX#8D952F
RGBrgb(141, 149, 47)
HSLhsl(65, 52%, 38%)
HSVhsv(65, 68%, 58%)
CMYKcmyk(5.4%, 0%, 68.5%, 41.6%)
CIE-LABlab(59.31, -16.47, 50.50)
CIE-LCHlch(59.31, 53.12, 108.07°)
OKLaboklab(64.35% -0.0498 0.1135)
OKLCHoklch(64.35% 0.124 113.7)
XYZxyz(22.2456, 27.3633, 6.7985)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D952F #372F95
analogous
#956A2F #8D952F #5A952F
triadic
#8D952F #2F8D95 #952F8D
tetradic
#8D952F #2F956A #372F95 #952F5A
square
#8D952F #2F956A #372F95 #952F5A
split-complementary
#8D952F #2F5A95 #6A2F95
monochromatic
#353812 #616620 #8D952F #B8C23F #C9D16D

Accessibility & contrast

On white

3.24
#8D952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D952F#FFFFFF#000000##000000
##8D952F1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d952f;
/* rgb */ color: rgb(141, 149, 47);
/* oklch */ color: oklch(64.4% 0.124 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46e',
    500: '#8d952f',
    950: '#000000',
  },
}
SCSS
$custom: #8d952f;
$custom-light: #b1b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d952f",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 64.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.12395,
    "h": 113.7
  },
  "luminance": 0.27363
}

Semantic roles & 50–950 ramp

primary
#8D952F
secondary
#6E67B8
accent
#4CDB58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D952F

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

Preview Lab → · Contrast checker → · Palette generator →

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