#8A8D47#8A8D47

#8A8D47 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.093 H 111.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8D47
RGBrgb(138, 141, 71)
HSLhsl(63, 33%, 42%)
HSVhsv(63, 50%, 55%)
CMYKcmyk(2.1%, 0%, 49.6%, 44.7%)
CIE-LABlab(56.99, -11.64, 36.66)
CIE-LCHlch(56.99, 38.46, 107.61°)
OKLaboklab(62.51% -0.0334 0.087)
OKLCHoklch(62.51% 0.093 111)
XYZxyz(21.1438, 24.9084, 9.6540)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D47 #4A478D
analogous
#8D6D47 #8A8D47 #678D47
triadic
#8A8D47 #478A8D #8D478A
tetradic
#8A8D47 #478D6D #4A478D #8D4767
square
#8A8D47 #478D6D #4A478D #8D4767
split-complementary
#8A8D47 #47678D #6D478D
monochromatic
#3A3C1E #626433 #8A8D47 #ACB062 #C2C48A

Accessibility & contrast

On white

3.51
#8A8D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D47
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D47#FFFFFF#000000##000000
##8A8D471.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968841
Deuteranopia (green-blind)
#978A4B
Tritanopia (blue-blind)
#92867D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d47;
/* rgb */ color: rgb(138, 141, 71);
/* oklch */ color: oklch(62.5% 0.093 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae7c',
    500: '#8a8d47',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d47;
$custom-light: #aeae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d47",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 62.571,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62514,
    "c": 0.09322,
    "h": 111
  },
  "luminance": 0.24908
}

Semantic roles & 50–950 ramp

primary
#8A8D47
secondary
#8280B0
accent
#5FC963
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8D47

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

Preview Lab → · Contrast checker → · Palette generator →

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