#8A8D4D#8A8D4D

#8A8D4D is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.087 H 111.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A8D4D
RGBrgb(138, 141, 77)
HSLhsl(63, 29%, 43%)
HSVhsv(63, 45%, 55%)
CMYKcmyk(2.1%, 0%, 45.4%, 44.7%)
CIE-LABlab(57.06, -11.01, 33.63)
CIE-LCHlch(57.06, 35.38, 108.13°)
OKLaboklab(62.6% -0.031 0.0808)
OKLCHoklch(62.6% 0.087 111)
XYZxyz(21.3460, 24.9892, 10.7187)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D4D #504D8D
analogous
#8D704D #8A8D4D #6A8D4D
triadic
#8A8D4D #4D8A8D #8D4D8A
tetradic
#8A8D4D #4D8D70 #504D8D #8D4D6A
square
#8A8D4D #4D8D70 #504D8D #8D4D6A
split-complementary
#8A8D4D #4D6A8D #704D8D
monochromatic
#3D3E22 #636537 #8A8D4D #AAAD6A #C1C391

Accessibility & contrast

On white

3.50
#8A8D4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A8D4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D4D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D4D#FFFFFF#000000##000000
##8A8D4D1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#968A50
Tritanopia (blue-blind)
#92867E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d4d;
/* rgb */ color: rgb(138, 141, 77);
/* oklch */ color: oklch(62.6% 0.087 111.0);
Tailwind
colors: {
  custom: {
    50: '#adae80',
    500: '#8a8d4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d4d;
$custom-light: #adae80;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d4d",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 62.813,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62603,
    "c": 0.08656,
    "h": 111
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

primary
#8A8D4D
secondary
#8886AF
accent
#62C667
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #8A8D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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