#8D892B#8D892B

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

Color values

HEX#8D892B
RGBrgb(141, 137, 43)
HSLhsl(58, 53%, 36%)
HSVhsv(58, 70%, 55%)
CMYKcmyk(0%, 2.8%, 69.5%, 44.7%)
CIE-LABlab(55.82, -10.35, 48.60)
CIE-LCHlch(55.82, 49.69, 102.02°)
OKLaboklab(61.55% -0.0331 0.1088)
OKLCHoklch(61.55% 0.114 106.9)
XYZxyz(20.3670, 23.7291, 5.7924)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D892B #2B2F8D
analogous
#8D582B #8D892B #608D2B
triadic
#8D892B #2B8D89 #892B8D
tetradic
#8D892B #2B8D58 #2B2F8D #8D2B60
square
#8D892B #2B8D58 #2B2F8D #8D2B60
split-complementary
#8D892B #2B608D #582B8D
monochromatic
#2F2E0E #5E5B1D #8D892B #BCB739 #CFCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D892B#FFFFFF#000000##000000
##8D892B1.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)
#95841D
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d892b;
/* rgb */ color: rgb(141, 137, 43);
/* oklch */ color: oklch(61.6% 0.114 106.9);
Tailwind
colors: {
  custom: {
    50: '#b1ab6a',
    500: '#8d892b',
    950: '#000000',
  },
}
SCSS
$custom: #8d892b;
$custom-light: #b1ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d892b",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 57.551,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.11371,
    "h": 106.9
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#8D892B
secondary
#5E62B6
accent
#51DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D892B

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

Preview Lab → · Contrast checker → · Palette generator →

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