#8D893C#8D893C

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

Color values

HEX#8D893C
RGBrgb(141, 137, 60)
HSLhsl(57, 40%, 39%)
HSVhsv(57, 57%, 55%)
CMYKcmyk(0%, 2.8%, 57.4%, 44.7%)
CIE-LABlab(55.97, -9.16, 41.05)
CIE-LCHlch(55.97, 42.06, 102.58°)
OKLaboklab(61.72% -0.0277 0.0954)
OKLCHoklch(61.72% 0.099 106.2)
XYZxyz(20.7464, 23.8809, 7.7907)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D893C #3C408D
analogous
#8D613C #8D893C #698D3C
triadic
#8D893C #3C8D89 #893C8D
tetradic
#8D893C #3C8D61 #3C408D #8D3C69
square
#8D893C #3C8D61 #3C408D #8D3C69
split-complementary
#8D893C #3C698D #613C8D
monochromatic
#373617 #625F2A #8D893C #B5B051 #C7C47C

Accessibility & contrast

On white

3.64
#8D893C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D893C#FFFFFF#000000##000000
##8D893C1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d893c;
/* rgb */ color: rgb(141, 137, 60);
/* oklch */ color: oklch(61.7% 0.099 106.2);
Tailwind
colors: {
  custom: {
    50: '#b0ab74',
    500: '#8d893c',
    950: '#000000',
  },
}
SCSS
$custom: #8d893c;
$custom-light: #b0ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#8d893c",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 60
  },
  "hsl": {
    "h": 57.037,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.09931,
    "h": 106.2
  },
  "luminance": 0.2388
}

Semantic roles & 50–950 ramp

primary
#8D893C
secondary
#7477B1
accent
#5ED058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D893C

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

Preview Lab → · Contrast checker → · Palette generator →

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