#8D892A#8D892A

#8D892A is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.114 H 106.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D892A
RGBrgb(141, 137, 42)
HSLhsl(58, 54%, 36%)
HSVhsv(58, 70%, 55%)
CMYKcmyk(0%, 2.8%, 70.2%, 44.7%)
CIE-LABlab(55.81, -10.40, 49.00)
CIE-LCHlch(55.81, 50.10, 101.99°)
OKLaboklab(61.55% -0.0333 0.1095)
OKLCHoklch(61.55% 0.114 106.9)
XYZxyz(20.3488, 23.7219, 5.6969)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D892A #2A2E8D
analogous
#8D572A #8D892A #5F8D2A
triadic
#8D892A #2A8D89 #892A8D
tetradic
#8D892A #2A8D57 #2A2E8D #8D2A5F
square
#8D892A #2A8D57 #2A2E8D #8D2A5F
split-complementary
#8D892A #2A5F8D #572A8D
monochromatic
#2F2D0E #5E5B1C #8D892A #BCB738 #D0CC61

Accessibility & contrast

On white

3.66
#8D892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8D892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D892A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D892A#FFFFFF#000000##000000
##8D892A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d892a;
/* rgb */ color: rgb(141, 137, 42);
/* oklch */ color: oklch(61.5% 0.114 106.9);
Tailwind
colors: {
  custom: {
    50: '#b1ab6a',
    500: '#8d892a',
    950: '#000000',
  },
}
SCSS
$custom: #8d892a;
$custom-light: #b1ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d892a",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 57.576,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.11444,
    "h": 106.9
  },
  "luminance": 0.23721
}

Semantic roles & 50–950 ramp

primary
#8D892A
secondary
#5D60B6
accent
#50DD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D892A

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

Preview Lab → · Contrast checker → · Palette generator →

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