#8D8A3E#8D8A3E

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

Color values

HEX#8D8A3E
RGBrgb(141, 138, 62)
HSLhsl(58, 39%, 40%)
HSVhsv(58, 56%, 55%)
CMYKcmyk(0%, 2.1%, 56%, 44.7%)
CIE-LABlab(56.28, -9.53, 40.42)
CIE-LCHlch(56.28, 41.53, 103.27°)
OKLaboklab(61.98% -0.0286 0.0942)
OKLCHoklch(61.98% 0.098 106.9)
XYZxyz(20.9431, 24.1881, 8.1220)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A3E #3E418D
analogous
#8D633E #8D8A3E #688D3E
triadic
#8D8A3E #3E8D8A #8A3E8D
tetradic
#8D8A3E #3E8D63 #3E418D #8D3E68
square
#8D8A3E #3E8D63 #3E418D #8D3E68
split-complementary
#8D8A3E #3E688D #633E8D
monochromatic
#383719 #62602B #8D8A3E #B4B054 #C7C47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8A3E#FFFFFF#000000##000000
##8D8A3E1.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)
#948536
Deuteranopia (green-blind)
#968842
Tritanopia (blue-blind)
#968279
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a3e;
/* rgb */ color: rgb(141, 138, 62);
/* oklch */ color: oklch(62.0% 0.098 106.9);
Tailwind
colors: {
  custom: {
    50: '#b0ac76',
    500: '#8d8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a3e;
$custom-light: #b0ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a3e",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 57.722,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.09847,
    "h": 106.9
  },
  "luminance": 0.24187
}

Semantic roles & 50–950 ramp

primary
#8D8A3E
secondary
#7678B1
accent
#5DCF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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