#8D882F#8D882F

#8D882F is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.110 H 106.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D882F
RGBrgb(141, 136, 47)
HSLhsl(57, 50%, 37%)
HSVhsv(57, 67%, 55%)
CMYKcmyk(0%, 3.5%, 66.7%, 44.7%)
CIE-LABlab(55.56, -9.56, 46.64)
CIE-LCHlch(55.56, 47.61, 101.59°)
OKLaboklab(61.36% -0.0304 0.1053)
OKLCHoklch(61.36% 0.11 106.1)
XYZxyz(20.3025, 23.4770, 6.1508)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D882F #2F348D
analogous
#8D592F #8D882F #638D2F
triadic
#8D882F #2F8D88 #882F8D
tetradic
#8D882F #2F8D59 #2F348D #8D2F63
square
#8D882F #2F8D59 #2F348D #8D2F63
split-complementary
#8D882F #2F638D #592F8D
monochromatic
#312F10 #5F5C20 #8D882F #BBB43E #CDC869

Accessibility & contrast

On white

3.69
#8D882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8D882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D882F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D882F#FFFFFF#000000##000000
##8D882F1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#977F76
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d882f;
/* rgb */ color: rgb(141, 136, 47);
/* oklch */ color: oklch(61.4% 0.110 106.1);
Tailwind
colors: {
  custom: {
    50: '#b1aa6c',
    500: '#8d882f',
    950: '#000000',
  },
}
SCSS
$custom: #8d882f;
$custom-light: #b1aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d882f",
  "rgb": {
    "r": 141,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 56.809,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.10964,
    "h": 106.1
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#8D882F
secondary
#6468B4
accent
#56DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D882F

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

Preview Lab → · Contrast checker → · Palette generator →

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