#8A8D3D#8A8D3D

#8A8D3D is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.103 H 111.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A8D3D
RGBrgb(138, 141, 61)
HSLhsl(62, 40%, 40%)
HSVhsv(62, 57%, 55%)
CMYKcmyk(2.1%, 0%, 56.7%, 44.7%)
CIE-LABlab(56.87, -12.55, 41.52)
CIE-LCHlch(56.87, 43.38, 106.82°)
OKLaboklab(62.39% -0.0371 0.0965)
OKLCHoklch(62.39% 0.103 111)
XYZxyz(20.8489, 24.7904, 8.1007)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D3D #403D8D
analogous
#8D683D #8A8D3D #628D3D
triadic
#8A8D3D #3D8A8D #8D3D8A
tetradic
#8A8D3D #3D8D68 #403D8D #8D3D62
square
#8A8D3D #3D8D68 #403D8D #8D3D62
split-complementary
#8A8D3D #3D628D #683D8D
monochromatic
#363818 #60622B #8A8D3D #B1B453 #C4C77D

Accessibility & contrast

On white

3.52
#8A8D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A8D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D3D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D3D#FFFFFF#000000##000000
##8A8D3D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#988A41
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d3d;
/* rgb */ color: rgb(138, 141, 61);
/* oklch */ color: oklch(62.4% 0.103 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae75',
    500: '#8a8d3d',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d3d;
$custom-light: #aeae75;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d3d",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 62.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62385,
    "c": 0.10342,
    "h": 111
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#8A8D3D
secondary
#7775B1
accent
#58CF5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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