#8A8D49#8A8D49

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

Color values

HEX#8A8D49
RGBrgb(138, 141, 73)
HSLhsl(63, 32%, 42%)
HSVhsv(63, 48%, 55%)
CMYKcmyk(2.1%, 0%, 48.2%, 44.7%)
CIE-LABlab(57.01, -11.43, 35.65)
CIE-LCHlch(57.01, 37.44, 107.78°)
OKLaboklab(62.54% -0.0326 0.085)
OKLCHoklch(62.54% 0.091 111)
XYZxyz(21.2091, 24.9345, 9.9976)
Luminance0.2493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D49 #4C498D
analogous
#8D6E49 #8A8D49 #688D49
triadic
#8A8D49 #498A8D #8D498A
tetradic
#8A8D49 #498D6E #4C498D #8D4968
square
#8A8D49 #498D6E #4C498D #8D4968
split-complementary
#8A8D49 #49688D #6E498D
monochromatic
#3B3C1F #636534 #8A8D49 #ACAF64 #C1C48D

Accessibility & contrast

On white

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

On black

5.99
#8A8D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D49
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D49#FFFFFF#000000##000000
##8A8D491.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8d49;
/* rgb */ color: rgb(138, 141, 73);
/* oklch */ color: oklch(62.5% 0.091 111.0);
Tailwind
colors: {
  custom: {
    50: '#adae7d',
    500: '#8a8d49',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d49;
$custom-light: #adae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d49",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 62.647,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.09104,
    "h": 111
  },
  "luminance": 0.24934
}

Semantic roles & 50–950 ramp

primary
#8A8D49
secondary
#8482B0
accent
#60C864
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8D49

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

Preview Lab → · Contrast checker → · Palette generator →

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