#8A9547#8A9547

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

Color values

HEX#8A9547
RGBrgb(138, 149, 71)
HSLhsl(68, 35%, 43%)
HSVhsv(68, 52%, 58%)
CMYKcmyk(7.4%, 0%, 52.3%, 41.6%)
CIE-LABlab(59.30, -15.88, 39.41)
CIE-LCHlch(59.30, 42.49, 111.95°)
OKLaboklab(64.36% -0.0454 0.093)
OKLCHoklch(64.36% 0.104 116)
XYZxyz(22.3663, 27.3534, 10.0615)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9547 #524795
analogous
#957947 #8A9547 #639547
triadic
#8A9547 #478A95 #95478A
tetradic
#8A9547 #479579 #524795 #954763
square
#8A9547 #479579 #524795 #954763
split-complementary
#8A9547 #476395 #794795
monochromatic
#3D421F #646C33 #8A9547 #AAB564 #C1C98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9547#FFFFFF#000000##000000
##8A95471.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E40
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#918E83
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a9547;
/* rgb */ color: rgb(138, 149, 71);
/* oklch */ color: oklch(64.4% 0.104 116.0);
Tailwind
colors: {
  custom: {
    50: '#aeb47c',
    500: '#8a9547',
    950: '#000000',
  },
}
SCSS
$custom: #8a9547;
$custom-light: #aeb47c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9547",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 71
  },
  "hsl": {
    "h": 68.462,
    "s": 35.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64362,
    "c": 0.10354,
    "h": 116
  },
  "luminance": 0.27353
}

Semantic roles & 50–950 ramp

primary
#8A9547
secondary
#8A83B4
accent
#5CCB6C
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9547

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

Preview Lab → · Contrast checker → · Palette generator →

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