#8A954C#8A954C

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

Color values

HEX#8A954C
RGBrgb(138, 149, 76)
HSLhsl(69, 32%, 44%)
HSVhsv(69, 49%, 58%)
CMYKcmyk(7.4%, 0%, 49%, 41.6%)
CIE-LABlab(59.36, -15.38, 36.95)
CIE-LCHlch(59.36, 40.02, 112.59°)
OKLaboklab(64.43% -0.0435 0.0881)
OKLCHoklch(64.43% 0.098 116.3)
XYZxyz(22.5334, 27.4202, 10.9416)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A954C #574C95
analogous
#957C4C #8A954C #66954C
triadic
#8A954C #4C8A95 #954C8A
tetradic
#8A954C #4C957C #574C95 #954C66
square
#8A954C #4C957C #574C95 #954C66
split-complementary
#8A954C #4C6695 #7C4C95
monochromatic
#3F4423 #646C37 #8A954C #A8B36B #C0C893

Accessibility & contrast

On white

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

On black

6.48
#8A954C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A954C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A954C#FFFFFF#000000##000000
##8A954C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a954c;
/* rgb */ color: rgb(138, 149, 76);
/* oklch */ color: oklch(64.4% 0.098 116.3);
Tailwind
colors: {
  custom: {
    50: '#adb480',
    500: '#8a954c',
    950: '#000000',
  },
}
SCSS
$custom: #8a954c;
$custom-light: #adb480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a954c",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 76
  },
  "hsl": {
    "h": 69.041,
    "s": 32.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.09827,
    "h": 116.3
  },
  "luminance": 0.2742
}

Semantic roles & 50–950 ramp

primary
#8A954C
secondary
#8F88B4
accent
#5FC96F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A954C

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

Preview Lab → · Contrast checker → · Palette generator →

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