#8D8A55#8D8A55

#8D8A55 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.073 H 105.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D8A55
RGBrgb(141, 138, 85)
HSLhsl(57, 25%, 44%)
HSVhsv(57, 40%, 55%)
CMYKcmyk(0%, 2.1%, 39.7%, 44.7%)
CIE-LABlab(56.58, -7.20, 28.78)
CIE-LCHlch(56.58, 29.67, 104.04°)
OKLaboklab(62.32% -0.0195 0.0703)
OKLCHoklch(62.32% 0.073 105.5)
XYZxyz(21.7130, 24.4961, 12.1770)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A55 #55588D
analogous
#8D6E55 #8D8A55 #748D55
triadic
#8D8A55 #558D8A #8A558D
tetradic
#8D8A55 #558D6E #55588D #8D5574
square
#8D8A55 #558D6E #55588D #8D5574
split-complementary
#8D8A55 #55748D #6E558D
monochromatic
#413F27 #67653E #8D8A55 #ABA874 #C2C09A

Accessibility & contrast

On white

3.56
#8D8A55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8D8A55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A55
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A55#FFFFFF#000000##000000
##8D8A551.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928651
Deuteranopia (green-blind)
#948957
Tritanopia (blue-blind)
#95847D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8a55;
/* rgb */ color: rgb(141, 138, 85);
/* oklch */ color: oklch(62.3% 0.073 105.5);
Tailwind
colors: {
  custom: {
    50: '#afac85',
    500: '#8d8a55',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a55;
$custom-light: #afac85;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a55",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 85
  },
  "hsl": {
    "h": 56.786,
    "s": 24.779,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.07301,
    "h": 105.5
  },
  "luminance": 0.24496
}

Semantic roles & 50–950 ramp

primary
#8D8A55
secondary
#8E90B0
accent
#6BC167
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8D8A55

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

Preview Lab → · Contrast checker → · Palette generator →

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