#8A954D#8A954D

#8A954D is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.097 H 116.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A954D
RGBrgb(138, 149, 77)
HSLhsl(69, 32%, 44%)
HSVhsv(69, 48%, 58%)
CMYKcmyk(7.4%, 0%, 48.3%, 41.6%)
CIE-LABlab(59.37, -15.27, 36.45)
CIE-LCHlch(59.37, 39.52, 112.73°)
OKLaboklab(64.45% -0.0431 0.0871)
OKLCHoklch(64.45% 0.097 116.4)
XYZxyz(22.5685, 27.4342, 11.1262)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A954D #584D95
analogous
#957C4D #8A954D #66954D
triadic
#8A954D #4D8A95 #954D8A
tetradic
#8A954D #4D957C #584D95 #954D66
square
#8A954D #4D957C #584D95 #954D66
split-complementary
#8A954D #4D6695 #7C4D95
monochromatic
#3F4423 #656D38 #8A954D #A8B36C #C0C894

Accessibility & contrast

On white

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

On black

6.49
#8A954D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A954D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A954D#FFFFFF#000000##000000
##8A954D1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F47
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#918E84
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a954d;
/* rgb */ color: rgb(138, 149, 77);
/* oklch */ color: oklch(64.4% 0.097 116.4);
Tailwind
colors: {
  custom: {
    50: '#adb480',
    500: '#8a954d',
    950: '#000000',
  },
}
SCSS
$custom: #8a954d;
$custom-light: #adb480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a954d",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 77
  },
  "hsl": {
    "h": 69.167,
    "s": 31.858,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.09718,
    "h": 116.4
  },
  "luminance": 0.27434
}

Semantic roles & 50–950 ramp

primary
#8A954D
secondary
#9089B4
accent
#60C870
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A954D

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

Preview Lab → · Contrast checker → · Palette generator →

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