#8D811F#8D811F

#8D811F is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.6% C 0.114 H 102.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D811F
RGBrgb(141, 129, 31)
HSLhsl(53, 64%, 34%)
HSVhsv(53, 78%, 55%)
CMYKcmyk(0%, 8.5%, 78%, 44.7%)
CIE-LABlab(53.45, -6.59, 50.94)
CIE-LCHlch(53.45, 51.36, 97.37°)
OKLaboklab(59.65% -0.0237 0.1115)
OKLCHoklch(59.65% 0.114 102)
XYZxyz(19.0830, 21.4630, 4.4337)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D811F #1F2B8D
analogous
#8D4A1F #8D811F #628D1F
triadic
#8D811F #1F8D81 #811F8D
tetradic
#8D811F #1F8D4A #1F2B8D #8D1F62
square
#8D811F #1F8D4A #1F2B8D #8D1F62
split-complementary
#8D811F #1F628D #4A1F8D
monochromatic
#292509 #5B5314 #8D811F #BFAF2A #D8C94E

Accessibility & contrast

On white

3.97
#8D811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8D811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D811F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D811F#FFFFFF#000000##000000
##8D811F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d811f;
/* rgb */ color: rgb(141, 129, 31);
/* oklch */ color: oklch(59.6% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#b2a563',
    500: '#8d811f',
    950: '#000000',
  },
}
SCSS
$custom: #8d811f;
$custom-light: #b2a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8d811f",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 53.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.11395,
    "h": 102
  },
  "luminance": 0.21462
}

Semantic roles & 50–950 ramp

primary
#8D811F
secondary
#4D59BB
accent
#53E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D811F

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

Preview Lab → · Contrast checker → · Palette generator →

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