#8D8A3D#8D8A3D

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

Color values

HEX#8D8A3D
RGBrgb(141, 138, 61)
HSLhsl(58, 40%, 40%)
HSVhsv(58, 57%, 55%)
CMYKcmyk(0%, 2.1%, 56.7%, 44.7%)
CIE-LABlab(56.26, -9.62, 40.90)
CIE-LCHlch(56.26, 42.02, 103.23°)
OKLaboklab(61.96% -0.0289 0.0951)
OKLCHoklch(61.96% 0.099 106.9)
XYZxyz(20.9159, 24.1772, 7.9789)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A3D #3D408D
analogous
#8D623D #8D8A3D #688D3D
triadic
#8D8A3D #3D8D8A #8A3D8D
tetradic
#8D8A3D #3D8D62 #3D408D #8D3D68
square
#8D8A3D #3D8D62 #3D408D #8D3D68
split-complementary
#8D8A3D #3D688D #623D8D
monochromatic
#383618 #62602B #8D8A3D #B4B153 #C7C47D

Accessibility & contrast

On white

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

On black

5.84
#8D8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A3D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A3D#FFFFFF#000000##000000
##8D8A3D1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8a3d;
/* rgb */ color: rgb(141, 138, 61);
/* oklch */ color: oklch(62.0% 0.099 106.9);
Tailwind
colors: {
  custom: {
    50: '#b0ac75',
    500: '#8d8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a3d;
$custom-light: #b0ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a3d",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 57.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.09944,
    "h": 106.9
  },
  "luminance": 0.24177
}

Semantic roles & 50–950 ramp

primary
#8D8A3D
secondary
#7577B1
accent
#5DCF58
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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