#8D8A4B#8D8A4B

#8D8A4B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.085 H 106.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8D8A4B
RGBrgb(141, 138, 75)
HSLhsl(57, 31%, 42%)
HSVhsv(57, 47%, 55%)
CMYKcmyk(0%, 2.1%, 46.8%, 44.7%)
CIE-LABlab(56.43, -8.31, 33.96)
CIE-LCHlch(56.43, 34.97, 103.75°)
OKLaboklab(62.16% -0.0237 0.0814)
OKLCHoklch(62.16% 0.085 106.2)
XYZxyz(21.3434, 24.3482, 10.2306)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A4B #4B4E8D
analogous
#8D694B #8D8A4B #6F8D4B
triadic
#8D8A4B #4B8D8A #8A4B8D
tetradic
#8D8A4B #4B8D69 #4B4E8D #8D4B6F
square
#8D8A4B #4B8D69 #4B4E8D #8D4B6F
split-complementary
#8D8A4B #4B6F8D #694B8D
monochromatic
#3D3C20 #656336 #8D8A4B #AEAB67 #C3C18F

Accessibility & contrast

On white

3.58
#8D8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8D8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A4B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A4B#FFFFFF#000000##000000
##8D8A4B1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938646
Deuteranopia (green-blind)
#95894E
Tritanopia (blue-blind)
#95837B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a4b;
/* rgb */ color: rgb(141, 138, 75);
/* oklch */ color: oklch(62.2% 0.085 106.2);
Tailwind
colors: {
  custom: {
    50: '#b0ac7f',
    500: '#8d8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a4b;
$custom-light: #b0ac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a4b",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 57.273,
    "s": 30.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.08475,
    "h": 106.2
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#8D8A4B
secondary
#8486B0
accent
#66C761
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #8D8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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