#8D892F#8D892F

#8D892F is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.111 H 106.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8D892F
RGBrgb(141, 137, 47)
HSLhsl(57, 50%, 37%)
HSVhsv(57, 67%, 55%)
CMYKcmyk(0%, 2.8%, 66.7%, 44.7%)
CIE-LABlab(55.85, -10.10, 46.94)
CIE-LCHlch(55.85, 48.01, 102.15°)
OKLaboklab(61.59% -0.0319 0.106)
OKLCHoklch(61.59% 0.111 106.8)
XYZxyz(20.4440, 23.7600, 6.1980)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D892F #2F338D
analogous
#8D5A2F #8D892F #628D2F
triadic
#8D892F #2F8D89 #892F8D
tetradic
#8D892F #2F8D5A #2F338D #8D2F62
square
#8D892F #2F8D5A #2F338D #8D2F62
split-complementary
#8D892F #2F628D #5A2F8D
monochromatic
#313010 #5F5C20 #8D892F #BBB63E #CDC969

Accessibility & contrast

On white

3.65
#8D892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8D892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D892F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D892F#FFFFFF#000000##000000
##8D892F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#978077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d892f;
/* rgb */ color: rgb(141, 137, 47);
/* oklch */ color: oklch(61.6% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#b1ab6d',
    500: '#8d892f',
    950: '#000000',
  },
}
SCSS
$custom: #8d892f;
$custom-light: #b1ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d892f",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 57.447,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.11068,
    "h": 106.8
  },
  "luminance": 0.23759
}

Semantic roles & 50–950 ramp

primary
#8D892F
secondary
#6467B4
accent
#54DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D892F

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

Preview Lab → · Contrast checker → · Palette generator →

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