#8A8246#8A8246

#8A8246 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.081 H 101.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A8246
RGBrgb(138, 130, 70)
HSLhsl(53, 33%, 41%)
HSVhsv(53, 49%, 54%)
CMYKcmyk(0%, 5.8%, 49.3%, 45.9%)
CIE-LABlab(53.83, -5.73, 33.36)
CIE-LCHlch(53.83, 33.85, 99.74°)
OKLaboklab(60% -0.0166 0.0797)
OKLCHoklch(60% 0.081 101.8)
XYZxyz(19.5699, 21.8114, 8.9723)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8246 #464E8A
analogous
#8A6046 #8A8246 #708A46
triadic
#8A8246 #468A82 #82468A
tetradic
#8A8246 #468A60 #464E8A #8A4670
square
#8A8246 #468A60 #464E8A #8A4670
split-complementary
#8A8246 #46708A #60468A
monochromatic
#39351D #615C31 #8A8246 #AEA55F #C3BC88

Accessibility & contrast

On white

3.92
#8A8246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A8246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8246
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8246#FFFFFF#000000##000000
##8A82461.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F41
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#937B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8246;
/* rgb */ color: rgb(138, 130, 70);
/* oklch */ color: oklch(60.0% 0.081 101.8);
Tailwind
colors: {
  custom: {
    50: '#aea67b',
    500: '#8a8246',
    950: '#000000',
  },
}
SCSS
$custom: #8a8246;
$custom-light: #aea67b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8246",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 52.941,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59997,
    "c": 0.08139,
    "h": 101.8
  },
  "luminance": 0.21811
}

Semantic roles & 50–950 ramp

primary
#8A8246
secondary
#7E84AE
accent
#6BC95F
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8246

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

Preview Lab → · Contrast checker → · Palette generator →

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