#8A8A46#8A8A46

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

Color values

HEX#8A8A46
RGBrgb(138, 138, 70)
HSLhsl(60, 33%, 41%)
HSVhsv(60, 49%, 54%)
CMYKcmyk(0%, 0%, 49.3%, 45.9%)
CIE-LABlab(56.11, -10.12, 36.12)
CIE-LCHlch(56.11, 37.51, 105.64°)
OKLaboklab(61.81% -0.0292 0.0858)
OKLCHoklch(61.81% 0.091 108.8)
XYZxyz(20.6756, 24.0229, 9.3409)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A46 #46468A
analogous
#8A6846 #8A8A46 #688A46
triadic
#8A8A46 #468A8A #8A468A
tetradic
#8A8A46 #468A68 #46468A #8A4668
square
#8A8A46 #468A68 #46468A #8A4668
split-complementary
#8A8A46 #46688A #68468A
monochromatic
#39391D #616131 #8A8A46 #AEAE5F #C3C388

Accessibility & contrast

On white

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

On black

5.80
#8A8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A46
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A46#FFFFFF#000000##000000
##8A8A461.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938540
Deuteranopia (green-blind)
#948849
Tritanopia (blue-blind)
#92837A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a46;
/* rgb */ color: rgb(138, 138, 70);
/* oklch */ color: oklch(61.8% 0.091 108.8);
Tailwind
colors: {
  custom: {
    50: '#aeac7b',
    500: '#8a8a46',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a46;
$custom-light: #aeac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a46",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.09059,
    "h": 108.8
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#8A8A46
secondary
#7E7EAE
accent
#5FC95F
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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