#8D8A4E#8D8A4E

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

Color values

HEX#8D8A4E
RGBrgb(141, 138, 78)
HSLhsl(57, 29%, 43%)
HSVhsv(57, 45%, 55%)
CMYKcmyk(0%, 2.1%, 44.7%, 44.7%)
CIE-LABlab(56.48, -7.99, 32.42)
CIE-LCHlch(56.48, 33.39, 103.84°)
OKLaboklab(62.2% -0.0224 0.0782)
OKLCHoklch(62.2% 0.081 106)
XYZxyz(21.4485, 24.3903, 10.7842)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A4E #4E518D
analogous
#8D6A4E #8D8A4E #708D4E
triadic
#8D8A4E #4E8D8A #8A4E8D
tetradic
#8D8A4E #4E8D6A #4E518D #8D4E70
square
#8D8A4E #4E8D6A #4E518D #8D4E70
split-complementary
#8D8A4E #4E708D #6A4E8D
monochromatic
#3E3D22 #666338 #8D8A4E #ADAA6B #C3C192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A4E#FFFFFF#000000##000000
##8D8A4E1.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)
#938649
Deuteranopia (green-blind)
#958951
Tritanopia (blue-blind)
#95837C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a4e;
/* rgb */ color: rgb(141, 138, 78);
/* oklch */ color: oklch(62.2% 0.081 106.0);
Tailwind
colors: {
  custom: {
    50: '#afac81',
    500: '#8d8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a4e;
$custom-light: #afac81;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a4e",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 57.143,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.08132,
    "h": 106
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

primary
#8D8A4E
secondary
#8789AF
accent
#67C563
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8D8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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