#8A8546#8A8546

#8A8546 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.085 H 104.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8546
RGBrgb(138, 133, 70)
HSLhsl(56, 33%, 41%)
HSVhsv(56, 49%, 54%)
CMYKcmyk(0%, 3.6%, 49.3%, 45.9%)
CIE-LABlab(54.68, -7.38, 34.40)
CIE-LCHlch(54.68, 35.18, 102.12°)
OKLaboklab(60.68% -0.0213 0.082)
OKLCHoklch(60.68% 0.085 104.6)
XYZxyz(19.9747, 22.6211, 9.1073)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8546 #464B8A
analogous
#8A6346 #8A8546 #6D8A46
triadic
#8A8546 #468A85 #85468A
tetradic
#8A8546 #468A63 #464B8A #8A466D
square
#8A8546 #468A63 #464B8A #8A466D
split-complementary
#8A8546 #466D8A #63468A
monochromatic
#39371D #615E31 #8A8546 #AEA85F #C3BE88

Accessibility & contrast

On white

3.80
#8A8546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A8546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8546
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8546#FFFFFF#000000##000000
##8A85461.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8141
Deuteranopia (green-blind)
#918449
Tritanopia (blue-blind)
#937E76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8546;
/* rgb */ color: rgb(138, 133, 70);
/* oklch */ color: oklch(60.7% 0.085 104.6);
Tailwind
colors: {
  custom: {
    50: '#aea87b',
    500: '#8a8546',
    950: '#000000',
  },
}
SCSS
$custom: #8a8546;
$custom-light: #aea87b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8546",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 55.588,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.0847,
    "h": 104.6
  },
  "luminance": 0.22621
}

Semantic roles & 50–950 ramp

primary
#8A8546
secondary
#7E81AE
accent
#67C95F
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8546

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

Preview Lab → · Contrast checker → · Palette generator →

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