#8A8A4C#8A8A4C

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

Color values

HEX#8A8A4C
RGBrgb(138, 138, 76)
HSLhsl(60, 29%, 42%)
HSVhsv(60, 45%, 54%)
CMYKcmyk(0%, 0%, 44.9%, 45.9%)
CIE-LABlab(56.19, -9.50, 33.08)
CIE-LCHlch(56.19, 34.41, 106.02°)
OKLaboklab(61.9% -0.0268 0.0795)
OKLCHoklch(61.9% 0.084 108.6)
XYZxyz(20.8746, 24.1025, 10.3887)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A4C #4C4C8A
analogous
#8A6B4C #8A8A4C #6B8A4C
triadic
#8A8A4C #4C8A8A #8A4C8A
tetradic
#8A8A4C #4C8A6B #4C4C8A #8A4C6B
square
#8A8A4C #4C8A6B #4C4C8A #8A4C6B
split-complementary
#8A8A4C #4C6B8A #6B4C8A
monochromatic
#3B3B21 #636336 #8A8A4C #ACAC68 #C1C18F

Accessibility & contrast

On white

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

On black

5.82
#8A8A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A4C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A4C#FFFFFF#000000##000000
##8A8A4C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8a4c;
/* rgb */ color: rgb(138, 138, 76);
/* oklch */ color: oklch(61.9% 0.084 108.6);
Tailwind
colors: {
  custom: {
    50: '#adac7f',
    500: '#8a8a4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a4c;
$custom-light: #adac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a4c",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.08391,
    "h": 108.6
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#8A8A4C
secondary
#8484AE
accent
#63C563
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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