#8A8D46#8A8D46

#8A8D46 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.094 H 111.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8D46
RGBrgb(138, 141, 70)
HSLhsl(63, 34%, 41%)
HSVhsv(63, 50%, 55%)
CMYKcmyk(2.1%, 0%, 50.4%, 44.7%)
CIE-LABlab(56.97, -11.73, 37.15)
CIE-LCHlch(56.97, 38.96, 107.53°)
OKLaboklab(62.5% -0.0338 0.088)
OKLCHoklch(62.5% 0.094 111)
XYZxyz(21.1120, 24.8956, 9.4864)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D46 #49468D
analogous
#8D6D46 #8A8D46 #678D46
triadic
#8A8D46 #468A8D #8D468A
tetradic
#8A8D46 #468D6D #49468D #8D4667
square
#8A8D46 #468D6D #49468D #8D4667
split-complementary
#8A8D46 #46678D #6D468D
monochromatic
#3A3B1D #626432 #8A8D46 #ADB060 #C2C489

Accessibility & contrast

On white

3.51
#8A8D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D46
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D46#FFFFFF#000000##000000
##8A8D461.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968840
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#92867D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d46;
/* rgb */ color: rgb(138, 141, 70);
/* oklch */ color: oklch(62.5% 0.094 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae7b',
    500: '#8a8d46',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d46;
$custom-light: #aeae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d46",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 62.535,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.625,
    "c": 0.09429,
    "h": 111
  },
  "luminance": 0.24895
}

Semantic roles & 50–950 ramp

primary
#8A8D46
secondary
#817FB0
accent
#5ECA63
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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