#8D8A45#8D8A45

#8D8A45 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.091 H 106.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D8A45
RGBrgb(141, 138, 69)
HSLhsl(58, 34%, 41%)
HSVhsv(58, 51%, 55%)
CMYKcmyk(0%, 2.1%, 51.1%, 44.7%)
CIE-LABlab(56.36, -8.91, 36.99)
CIE-LCHlch(56.36, 38.05, 103.54°)
OKLaboklab(62.07% -0.026 0.0875)
OKLCHoklch(62.07% 0.091 106.5)
XYZxyz(21.1477, 24.2699, 9.1996)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A45 #45488D
analogous
#8D6645 #8D8A45 #6C8D45
triadic
#8D8A45 #458D8A #8A458D
tetradic
#8D8A45 #458D66 #45488D #8D456C
square
#8D8A45 #458D66 #45488D #8D456C
split-complementary
#8D8A45 #456C8D #66458D
monochromatic
#3B3A1D #646231 #8D8A45 #B1AD5F #C5C288

Accessibility & contrast

On white

3.59
#8D8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8D8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A45
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A45#FFFFFF#000000##000000
##8D8A451.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853F
Deuteranopia (green-blind)
#968948
Tritanopia (blue-blind)
#96827A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a45;
/* rgb */ color: rgb(141, 138, 69);
/* oklch */ color: oklch(62.1% 0.091 106.5);
Tailwind
colors: {
  custom: {
    50: '#b0ac7a',
    500: '#8d8a45',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a45;
$custom-light: #b0ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a45",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 57.5,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.09132,
    "h": 106.5
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#8D8A45
secondary
#7E80B0
accent
#62CA5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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