#8D893D#8D893D

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

Color values

HEX#8D893D
RGBrgb(141, 137, 61)
HSLhsl(57, 40%, 40%)
HSVhsv(57, 57%, 55%)
CMYKcmyk(0%, 2.8%, 56.7%, 44.7%)
CIE-LABlab(55.98, -9.08, 40.58)
CIE-LCHlch(55.98, 41.58, 102.61°)
OKLaboklab(61.74% -0.0274 0.0944)
OKLCHoklch(61.74% 0.098 106.2)
XYZxyz(20.7731, 23.8916, 7.9313)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D893D #3D418D
analogous
#8D613D #8D893D #698D3D
triadic
#8D893D #3D8D89 #893D8D
tetradic
#8D893D #3D8D61 #3D418D #8D3D69
square
#8D893D #3D8D61 #3D418D #8D3D69
split-complementary
#8D893D #3D698D #613D8D
monochromatic
#383618 #625F2B #8D893D #B4B053 #C7C37D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D893D#FFFFFF#000000##000000
##8D893D1.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)
#948435
Deuteranopia (green-blind)
#958841
Tritanopia (blue-blind)
#968178
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d893d;
/* rgb */ color: rgb(141, 137, 61);
/* oklch */ color: oklch(61.7% 0.098 106.2);
Tailwind
colors: {
  custom: {
    50: '#b0ab75',
    500: '#8d893d',
    950: '#000000',
  },
}
SCSS
$custom: #8d893d;
$custom-light: #b0ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#8d893d",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 57,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.09833,
    "h": 106.2
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#8D893D
secondary
#7578B1
accent
#5ECF58
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D893D

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

Preview Lab → · Contrast checker → · Palette generator →

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