#8A8A47#8A8A47

#8A8A47 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.089 H 108.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A8A47
RGBrgb(138, 138, 71)
HSLhsl(60, 32%, 41%)
HSVhsv(60, 49%, 54%)
CMYKcmyk(0%, 0%, 48.6%, 45.9%)
CIE-LABlab(56.12, -10.02, 35.62)
CIE-LCHlch(56.12, 37.00, 105.71°)
OKLaboklab(61.83% -0.0288 0.0848)
OKLCHoklch(61.83% 0.09 108.8)
XYZxyz(20.7075, 24.0356, 9.5085)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A47 #47478A
analogous
#8A6847 #8A8A47 #688A47
triadic
#8A8A47 #478A8A #8A478A
tetradic
#8A8A47 #478A68 #47478A #8A4768
square
#8A8A47 #478A68 #47478A #8A4768
split-complementary
#8A8A47 #47688A #68478A
monochromatic
#39391D #626232 #8A8A47 #AEAE61 #C2C289

Accessibility & contrast

On white

3.62
#8A8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A8A47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A47
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A47#FFFFFF#000000##000000
##8A8A471.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938541
Deuteranopia (green-blind)
#94884A
Tritanopia (blue-blind)
#92837A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a47;
/* rgb */ color: rgb(138, 138, 71);
/* oklch */ color: oklch(61.8% 0.089 108.8);
Tailwind
colors: {
  custom: {
    50: '#aeac7c',
    500: '#8a8a47',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a47;
$custom-light: #aeac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a47",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.0895,
    "h": 108.8
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#8A8A47
secondary
#7F7FAE
accent
#60C860
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8A47

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

Preview Lab → · Contrast checker → · Palette generator →

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