#8D892D#8D892D

#8D892D is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.112 H 106.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8D892D
RGBrgb(141, 137, 45)
HSLhsl(58, 52%, 36%)
HSVhsv(58, 68%, 55%)
CMYKcmyk(0%, 2.8%, 68.1%, 44.7%)
CIE-LABlab(55.83, -10.23, 47.78)
CIE-LCHlch(55.83, 48.86, 102.08°)
OKLaboklab(61.57% -0.0325 0.1074)
OKLCHoklch(61.57% 0.112 106.8)
XYZxyz(20.4046, 23.7442, 5.9904)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D892D #2D318D
analogous
#8D592D #8D892D #618D2D
triadic
#8D892D #2D8D89 #892D8D
tetradic
#8D892D #2D8D59 #2D318D #8D2D61
square
#8D892D #2D8D59 #2D318D #8D2D61
split-complementary
#8D892D #2D618D #592D8D
monochromatic
#302F0F #5F5C1E #8D892D #BBB63C #CECA66

Accessibility & contrast

On white

3.65
#8D892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8D892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D892D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D892D#FFFFFF#000000##000000
##8D892D1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d892d;
/* rgb */ color: rgb(141, 137, 45);
/* oklch */ color: oklch(61.6% 0.112 106.8);
Tailwind
colors: {
  custom: {
    50: '#b1ab6b',
    500: '#8d892d',
    950: '#000000',
  },
}
SCSS
$custom: #8d892d;
$custom-light: #b1ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d892d",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 57.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61571,
    "c": 0.11223,
    "h": 106.8
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#8D892D
secondary
#6164B5
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D892D

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

Preview Lab → · Contrast checker → · Palette generator →

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