#8A8A49#8A8A49

#8A8A49 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.087 H 108.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A8A49
RGBrgb(138, 138, 73)
HSLhsl(60, 31%, 41%)
HSVhsv(60, 47%, 54%)
CMYKcmyk(0%, 0%, 47.1%, 45.9%)
CIE-LABlab(56.15, -9.81, 34.61)
CIE-LCHlch(56.15, 35.97, 105.83°)
OKLaboklab(61.86% -0.028 0.0827)
OKLCHoklch(61.86% 0.087 108.7)
XYZxyz(20.7727, 24.0617, 9.8522)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A49 #49498A
analogous
#8A6A49 #8A8A49 #6A8A49
triadic
#8A8A49 #498A8A #8A498A
tetradic
#8A8A49 #498A6A #49498A #8A496A
square
#8A8A49 #498A6A #49498A #8A496A
split-complementary
#8A8A49 #496A8A #6A498A
monochromatic
#3A3A1F #626234 #8A8A49 #ADAD63 #C2C28B

Accessibility & contrast

On white

3.61
#8A8A49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8A49#FFFFFF#000000##000000
##8A8A491.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938543
Deuteranopia (green-blind)
#94884C
Tritanopia (blue-blind)
#92837B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8a49;
/* rgb */ color: rgb(138, 138, 73);
/* oklch */ color: oklch(61.9% 0.087 108.7);
Tailwind
colors: {
  custom: {
    50: '#adac7d',
    500: '#8a8a49',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a49;
$custom-light: #adac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a49",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.0873,
    "h": 108.7
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#8A8A49
secondary
#8181AE
accent
#61C761
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8A49

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

Preview Lab → · Contrast checker → · Palette generator →

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