#8D8A3C#8D8A3C

#8D8A3C is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.100 H 107.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8D8A3C
RGBrgb(141, 138, 60)
HSLhsl(58, 40%, 39%)
HSVhsv(58, 57%, 55%)
CMYKcmyk(0%, 2.1%, 57.4%, 44.7%)
CIE-LABlab(56.25, -9.70, 41.38)
CIE-LCHlch(56.25, 42.50, 103.20°)
OKLaboklab(61.95% -0.0293 0.096)
OKLCHoklch(61.95% 0.1 107)
XYZxyz(20.8892, 24.1665, 7.8383)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A3C #3C3F8D
analogous
#8D623C #8D8A3C #688D3C
triadic
#8D8A3C #3C8D8A #8A3C8D
tetradic
#8D8A3C #3C8D62 #3C3F8D #8D3C68
square
#8D8A3C #3C8D62 #3C3F8D #8D3C68
split-complementary
#8D8A3C #3C688D #623C8D
monochromatic
#373617 #62602A #8D8A3C #B5B151 #C7C57C

Accessibility & contrast

On white

3.60
#8D8A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8D8A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A3C
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A3C#FFFFFF#000000##000000
##8D8A3C1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958534
Deuteranopia (green-blind)
#968840
Tritanopia (blue-blind)
#968279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a3c;
/* rgb */ color: rgb(141, 138, 60);
/* oklch */ color: oklch(62.0% 0.100 107.0);
Tailwind
colors: {
  custom: {
    50: '#b0ac75',
    500: '#8d8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a3c;
$custom-light: #b0ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a3c",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 57.778,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.10041,
    "h": 107
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#8D8A3C
secondary
#7476B1
accent
#5CD058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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