#8D892E#8D892E

#8D892E 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#8D892E
RGBrgb(141, 137, 46)
HSLhsl(57, 51%, 37%)
HSVhsv(57, 67%, 55%)
CMYKcmyk(0%, 2.8%, 67.4%, 44.7%)
CIE-LABlab(55.84, -10.17, 47.36)
CIE-LCHlch(55.84, 48.44, 102.12°)
OKLaboklab(61.58% -0.0322 0.1067)
OKLCHoklch(61.58% 0.111 106.8)
XYZxyz(20.4240, 23.7520, 6.0930)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D892E #2E328D
analogous
#8D5A2E #8D892E #628D2E
triadic
#8D892E #2E8D89 #892E8D
tetradic
#8D892E #2E8D5A #2E328D #8D2E62
square
#8D892E #2E8D5A #2E328D #8D2E62
split-complementary
#8D892E #2E628D #5A2E8D
monochromatic
#312F10 #5F5C1F #8D892E #BBB63D #CEC968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D892E#FFFFFF#000000##000000
##8D892E1.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)
#948422
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d892e;
/* rgb */ color: rgb(141, 137, 46);
/* oklch */ color: oklch(61.6% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#b1ab6c',
    500: '#8d892e',
    950: '#000000',
  },
}
SCSS
$custom: #8d892e;
$custom-light: #b1ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d892e",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 57.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.11146,
    "h": 106.8
  },
  "luminance": 0.23751
}

Semantic roles & 50–950 ramp

primary
#8D892E
secondary
#6266B5
accent
#53DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D892E

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

Preview Lab → · Contrast checker → · Palette generator →

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