#8D8A4F#8D8A4F

#8D8A4F is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.080 H 106.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8D8A4F
RGBrgb(141, 138, 79)
HSLhsl(57, 28%, 43%)
HSVhsv(57, 44%, 55%)
CMYKcmyk(0%, 2.1%, 44%, 44.7%)
CIE-LABlab(56.49, -7.88, 31.91)
CIE-LCHlch(56.49, 32.87, 103.87°)
OKLaboklab(62.22% -0.022 0.0771)
OKLCHoklch(62.22% 0.08 106)
XYZxyz(21.4847, 24.4047, 10.9744)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A4F #4F528D
analogous
#8D6B4F #8D8A4F #718D4F
triadic
#8D8A4F #4F8D8A #8A4F8D
tetradic
#8D8A4F #4F8D6B #4F528D #8D4F71
square
#8D8A4F #4F8D6B #4F528D #8D4F71
split-complementary
#8D8A4F #4F718D #6B4F8D
monochromatic
#3F3D23 #666439 #8D8A4F #ADAA6C #C3C194

Accessibility & contrast

On white

3.57
#8D8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8D8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A4F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A4F#FFFFFF#000000##000000
##8D8A4F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864A
Deuteranopia (green-blind)
#958952
Tritanopia (blue-blind)
#95837C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a4f;
/* rgb */ color: rgb(141, 138, 79);
/* oklch */ color: oklch(62.2% 0.080 106.0);
Tailwind
colors: {
  custom: {
    50: '#afac81',
    500: '#8d8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a4f;
$custom-light: #afac81;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a4f",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 57.097,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62217,
    "c": 0.08016,
    "h": 106
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#8D8A4F
secondary
#888AAF
accent
#68C463
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8D8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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