#8A954B#8A954B

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

Color values

HEX#8A954B
RGBrgb(138, 149, 75)
HSLhsl(69, 33%, 44%)
HSVhsv(69, 50%, 58%)
CMYKcmyk(7.4%, 0%, 49.7%, 41.6%)
CIE-LABlab(59.35, -15.48, 37.45)
CIE-LCHlch(59.35, 40.52, 112.46°)
OKLaboklab(64.42% -0.0439 0.0891)
OKLCHoklch(64.42% 0.099 116.2)
XYZxyz(22.4990, 27.4064, 10.7600)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A954B #564B95
analogous
#957B4B #8A954B #65954B
triadic
#8A954B #4B8A95 #954B8A
tetradic
#8A954B #4B957B #564B95 #954B65
square
#8A954B #4B957B #564B95 #954B65
split-complementary
#8A954B #4B6595 #7B4B95
monochromatic
#3F4422 #646C37 #8A954B #A9B469 #C0C892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A954B#FFFFFF#000000##000000
##8A954B1.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)
#9E8E44
Deuteranopia (green-blind)
#9D8F4F
Tritanopia (blue-blind)
#918E84
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a954b;
/* rgb */ color: rgb(138, 149, 75);
/* oklch */ color: oklch(64.4% 0.099 116.2);
Tailwind
colors: {
  custom: {
    50: '#aeb47f',
    500: '#8a954b',
    950: '#000000',
  },
}
SCSS
$custom: #8a954b;
$custom-light: #aeb47f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a954b",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 75
  },
  "hsl": {
    "h": 68.919,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.09935,
    "h": 116.2
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#8A954B
secondary
#8E87B4
accent
#5FC96E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A954B

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

Preview Lab → · Contrast checker → · Palette generator →

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