#8D893F#8D893F

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

Color values

HEX#8D893F
RGBrgb(141, 137, 63)
HSLhsl(57, 38%, 40%)
HSVhsv(57, 55%, 55%)
CMYKcmyk(0%, 2.8%, 55.3%, 44.7%)
CIE-LABlab(56.00, -8.91, 39.61)
CIE-LCHlch(56.00, 40.60, 102.67°)
OKLaboklab(61.76% -0.0267 0.0926)
OKLCHoklch(61.76% 0.096 106.1)
XYZxyz(20.8280, 23.9135, 8.2203)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D893F #3F438D
analogous
#8D623F #8D893F #6A8D3F
triadic
#8D893F #3F8D89 #893F8D
tetradic
#8D893F #3F8D62 #3F438D #8D3F6A
square
#8D893F #3F8D62 #3F438D #8D3F6A
split-complementary
#8D893F #3F6A8D #623F8D
monochromatic
#383719 #63602C #8D893F #B3AF56 #C6C380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D893F#FFFFFF#000000##000000
##8D893F1.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)
#938438
Deuteranopia (green-blind)
#958843
Tritanopia (blue-blind)
#968178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d893f;
/* rgb */ color: rgb(141, 137, 63);
/* oklch */ color: oklch(61.8% 0.096 106.1);
Tailwind
colors: {
  custom: {
    50: '#b0ab76',
    500: '#8d893f',
    950: '#000000',
  },
}
SCSS
$custom: #8d893f;
$custom-light: #b0ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#8d893f",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 56.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.09637,
    "h": 106.1
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#8D893F
secondary
#777AB1
accent
#60CE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D893F

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

Preview Lab → · Contrast checker → · Palette generator →

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