#8D952A#8D952A

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

Color values

HEX#8D952A
RGBrgb(141, 149, 42)
HSLhsl(64, 56%, 37%)
HSVhsv(64, 72%, 58%)
CMYKcmyk(5.4%, 0%, 71.8%, 41.6%)
CIE-LABlab(59.27, -16.76, 52.44)
CIE-LCHlch(59.27, 55.05, 107.73°)
OKLaboklab(64.32% -0.0512 0.1167)
OKLCHoklch(64.32% 0.127 113.7)
XYZxyz(22.1505, 27.3252, 6.2975)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D952A #322A95
analogous
#95682A #8D952A #58952A
triadic
#8D952A #2A8D95 #952A8D
tetradic
#8D952A #2A9568 #322A95 #952A58
square
#8D952A #2A9568 #322A95 #952A58
split-complementary
#8D952A #2A5895 #682A95
monochromatic
#33360F #60651D #8D952A #BAC537 #CCD466

Accessibility & contrast

On white

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

On black

6.46
#8D952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D952A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D952A#FFFFFF#000000##000000
##8D952A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d952a;
/* rgb */ color: rgb(141, 149, 42);
/* oklch */ color: oklch(64.3% 0.127 113.7);
Tailwind
colors: {
  custom: {
    50: '#b1b46b',
    500: '#8d952a',
    950: '#000000',
  },
}
SCSS
$custom: #8d952a;
$custom-light: #b1b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d952a",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 64.486,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64316,
    "c": 0.12743,
    "h": 113.7
  },
  "luminance": 0.27325
}

Semantic roles & 50–950 ramp

primary
#8D952A
secondary
#6861BA
accent
#48DF54
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D952A

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

Preview Lab → · Contrast checker → · Palette generator →

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