#8D8A37#8D8A37

#8D8A37 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.105 H 107.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D8A37
RGBrgb(141, 138, 55)
HSLhsl(58, 44%, 38%)
HSVhsv(58, 61%, 55%)
CMYKcmyk(0%, 2.1%, 61%, 44.7%)
CIE-LABlab(56.20, -10.09, 43.71)
CIE-LCHlch(56.20, 44.86, 103.00°)
OKLaboklab(61.9% -0.031 0.1004)
OKLCHoklch(61.9% 0.105 107.2)
XYZxyz(20.7632, 24.1161, 7.1748)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A37 #373A8D
analogous
#8D5F37 #8D8A37 #658D37
triadic
#8D8A37 #378D8A #8A378D
tetradic
#8D8A37 #378D5F #373A8D #8D3765
square
#8D8A37 #378D5F #373A8D #8D3765
split-complementary
#8D8A37 #37658D #5F378D
monochromatic
#353415 #615F26 #8D8A37 #B8B449 #C9C675

Accessibility & contrast

On white

3.61
#8D8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8D8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A37
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A37#FFFFFF#000000##000000
##8D8A371.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#97883C
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a37;
/* rgb */ color: rgb(141, 138, 55);
/* oklch */ color: oklch(61.9% 0.105 107.2);
Tailwind
colors: {
  custom: {
    50: '#b1ac71',
    500: '#8d8a37',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a37;
$custom-light: #b1ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a37",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 57.907,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61896,
    "c": 0.10504,
    "h": 107.2
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#8D8A37
secondary
#6E70B2
accent
#59D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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