#8D893E#8D893E

#8D893E is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.097 H 106.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D893E
RGBrgb(141, 137, 62)
HSLhsl(57, 39%, 40%)
HSVhsv(57, 56%, 55%)
CMYKcmyk(0%, 2.8%, 56%, 44.7%)
CIE-LABlab(55.99, -8.99, 40.09)
CIE-LCHlch(55.99, 41.09, 102.64°)
OKLaboklab(61.75% -0.027 0.0935)
OKLCHoklch(61.75% 0.097 106.1)
XYZxyz(20.8003, 23.9025, 8.0744)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D893E #3E428D
analogous
#8D623E #8D893E #6A8D3E
triadic
#8D893E #3E8D89 #893E8D
tetradic
#8D893E #3E8D62 #3E428D #8D3E6A
square
#8D893E #3E8D62 #3E428D #8D3E6A
split-complementary
#8D893E #3E6A8D #623E8D
monochromatic
#383619 #62602B #8D893E #B4AF54 #C7C37F

Accessibility & contrast

On white

3.63
#8D893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8D893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D893E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D893E#FFFFFF#000000##000000
##8D893E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948437
Deuteranopia (green-blind)
#958842
Tritanopia (blue-blind)
#968178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d893e;
/* rgb */ color: rgb(141, 137, 62);
/* oklch */ color: oklch(61.7% 0.097 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab76',
    500: '#8d893e',
    950: '#000000',
  },
}
SCSS
$custom: #8d893e;
$custom-light: #b0ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8d893e",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 56.962,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.09736,
    "h": 106.1
  },
  "luminance": 0.23902
}

Semantic roles & 50–950 ramp

primary
#8D893E
secondary
#7679B1
accent
#5FCF59
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D893E

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

Preview Lab → · Contrast checker → · Palette generator →

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