#8A9747#8A9747

#8A9747 is a light, moderate yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.106 H 117.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9747
RGBrgb(138, 151, 71)
HSLhsl(70, 36%, 44%)
HSVhsv(70, 53%, 59%)
CMYKcmyk(8.6%, 0%, 53%, 40.8%)
CIE-LABlab(59.88, -16.92, 40.09)
CIE-LCHlch(59.88, 43.52, 112.88°)
OKLaboklab(64.83% -0.0484 0.0945)
OKLCHoklch(64.83% 0.106 117.1)
XYZxyz(22.6855, 27.9916, 10.1679)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9747 #544797
analogous
#977C47 #8A9747 #629747
triadic
#8A9747 #478A97 #97478A
tetradic
#8A9747 #47977C #544797 #974762
square
#8A9747 #47977C #544797 #974762
split-complementary
#8A9747 #476297 #7C4797
monochromatic
#3E4420 #646D33 #8A9747 #A9B665 #C0CA8E

Accessibility & contrast

On white

3.18
#8A9747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9747
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9747#FFFFFF#000000##000000
##8A97471.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0903F
Deuteranopia (green-blind)
#9F914C
Tritanopia (blue-blind)
#919085
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9747;
/* rgb */ color: rgb(138, 151, 71);
/* oklch */ color: oklch(64.8% 0.106 117.1);
Tailwind
colors: {
  custom: {
    50: '#aeb57c',
    500: '#8a9747',
    950: '#000000',
  },
}
SCSS
$custom: #8a9747;
$custom-light: #aeb57c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9747",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 71
  },
  "hsl": {
    "h": 69.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64828,
    "c": 0.1062,
    "h": 117.1
  },
  "luminance": 0.27991
}

Semantic roles & 50–950 ramp

primary
#8A9747
secondary
#8C84B6
accent
#5CCC6E
background
#FAFBF7
surface
#F5F6EE
border
#CFD0C9
text
#10110A
muted
#7F807C

Preview Lab

Preview with #8A9747

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

Preview Lab → · Contrast checker → · Palette generator →

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