#8A8846#8A8846

#8A8846 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.088 H 107.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A8846
RGBrgb(138, 136, 70)
HSLhsl(58, 33%, 41%)
HSVhsv(58, 49%, 54%)
CMYKcmyk(0%, 1.4%, 49.3%, 45.9%)
CIE-LABlab(55.54, -9.03, 35.43)
CIE-LCHlch(55.54, 36.56, 104.29°)
OKLaboklab(61.36% -0.0261 0.0843)
OKLCHoklch(61.36% 0.088 107.2)
XYZxyz(20.3913, 23.4543, 9.2461)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8846 #46488A
analogous
#8A6646 #8A8846 #6A8A46
triadic
#8A8846 #468A88 #88468A
tetradic
#8A8846 #468A66 #46488A #8A466A
square
#8A8846 #468A66 #46488A #8A466A
split-complementary
#8A8846 #466A8A #66468A
monochromatic
#39381D #616031 #8A8846 #AEAC5F #C3C188

Accessibility & contrast

On white

3.69
#8A8846 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A8846 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8846
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8846#FFFFFF#000000##000000
##8A88461.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928340
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#928179
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8846;
/* rgb */ color: rgb(138, 136, 70);
/* oklch */ color: oklch(61.4% 0.088 107.2);
Tailwind
colors: {
  custom: {
    50: '#aeaa7b',
    500: '#8a8846',
    950: '#000000',
  },
}
SCSS
$custom: #8a8846;
$custom-light: #aeaa7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8846",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 70
  },
  "hsl": {
    "h": 58.235,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.08819,
    "h": 107.2
  },
  "luminance": 0.23454
}

Semantic roles & 50–950 ramp

primary
#8A8846
secondary
#7E7FAE
accent
#62C95F
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8846

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

Preview Lab → · Contrast checker → · Palette generator →

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