#8D8451#8D8451

#8D8451 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.071 H 99.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D8451
RGBrgb(141, 132, 81)
HSLhsl(51, 27%, 44%)
HSVhsv(51, 43%, 55%)
CMYKcmyk(0%, 6.4%, 42.6%, 44.7%)
CIE-LABlab(54.82, -4.35, 28.72)
CIE-LCHlch(54.82, 29.05, 98.61°)
OKLaboklab(60.91% -0.0117 0.07)
OKLCHoklch(60.91% 0.071 99.5)
XYZxyz(20.7214, 22.7600, 11.0846)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8451 #515A8D
analogous
#8D6651 #8D8451 #788D51
triadic
#8D8451 #518D84 #84518D
tetradic
#8D8451 #518D66 #515A8D #8D5178
square
#8D8451 #518D66 #515A8D #8D5178
split-complementary
#8D8451 #51788D #66518D
monochromatic
#3F3B24 #66603B #8D8451 #ACA36F #C3BC96

Accessibility & contrast

On white

3.78
#8D8451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8D8451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8451
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8451#FFFFFF#000000##000000
##8D84511.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#908553
Tritanopia (blue-blind)
#957D77
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8451;
/* rgb */ color: rgb(141, 132, 81);
/* oklch */ color: oklch(60.9% 0.071 99.5);
Tailwind
colors: {
  custom: {
    50: '#afa782',
    500: '#8d8451',
    950: '#000000',
  },
}
SCSS
$custom: #8d8451;
$custom-light: #afa782;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8451",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 51,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.07097,
    "h": 99.5
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#8D8451
secondary
#8A90AF
accent
#73C364
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8D8451

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

Preview Lab → · Contrast checker → · Palette generator →

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