#8D893A#8D893A

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

Color values

HEX#8D893A
RGBrgb(141, 137, 58)
HSLhsl(57, 42%, 39%)
HSVhsv(57, 59%, 55%)
CMYKcmyk(0%, 2.8%, 58.9%, 44.7%)
CIE-LABlab(55.95, -9.32, 42.00)
CIE-LCHlch(55.95, 43.02, 102.51°)
OKLaboklab(61.7% -0.0284 0.0971)
OKLCHoklch(61.7% 0.101 106.3)
XYZxyz(20.6945, 23.8602, 7.5175)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D893A #3A3E8D
analogous
#8D603A #8D893A #688D3A
triadic
#8D893A #3A8D89 #893A8D
tetradic
#8D893A #3A8D60 #3A3E8D #8D3A68
square
#8D893A #3A8D60 #3A3E8D #8D3A68
split-complementary
#8D893A #3A688D #603A8D
monochromatic
#363516 #625F28 #8D893A #B6B14E #C8C479

Accessibility & contrast

On white

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

On black

5.77
#8D893A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D893A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D893A#FFFFFF#000000##000000
##8D893A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948432
Deuteranopia (green-blind)
#96883E
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d893a;
/* rgb */ color: rgb(141, 137, 58);
/* oklch */ color: oklch(61.7% 0.101 106.3);
Tailwind
colors: {
  custom: {
    50: '#b0ab73',
    500: '#8d893a',
    950: '#000000',
  },
}
SCSS
$custom: #8d893a;
$custom-light: #b0ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#8d893a",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 57.108,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.1012,
    "h": 106.3
  },
  "luminance": 0.2386
}

Semantic roles & 50–950 ramp

primary
#8D893A
secondary
#7174B1
accent
#5CD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D893A

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

Preview Lab → · Contrast checker → · Palette generator →

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