#8D811E#8D811E

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

Color values

HEX#8D811E
RGBrgb(141, 129, 30)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 8.5%, 78.7%, 44.7%)
CIE-LABlab(53.45, -6.63, 51.28)
CIE-LCHlch(53.45, 51.71, 97.36°)
OKLaboklab(59.64% -0.024 0.112)
OKLCHoklch(59.64% 0.115 102.1)
XYZxyz(19.0700, 21.4578, 4.3653)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D811E #1E2A8D
analogous
#8D4A1E #8D811E #618D1E
triadic
#8D811E #1E8D81 #811E8D
tetradic
#8D811E #1E8D4A #1E2A8D #8D1E61
square
#8D811E #1E8D4A #1E2A8D #8D1E61
split-complementary
#8D811E #1E618D #4A1E8D
monochromatic
#282509 #5B5313 #8D811E #BFAF29 #D9CA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D811E#FFFFFF#000000##000000
##8D811E1.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)
#8E7D07
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d811e;
/* rgb */ color: rgb(141, 129, 30);
/* oklch */ color: oklch(59.6% 0.115 102.1);
Tailwind
colors: {
  custom: {
    50: '#b2a563',
    500: '#8d811e',
    950: '#000000',
  },
}
SCSS
$custom: #8d811e;
$custom-light: #b2a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8d811e",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 53.514,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.11451,
    "h": 102.1
  },
  "luminance": 0.21457
}

Semantic roles & 50–950 ramp

primary
#8D811E
secondary
#4B57BC
accent
#52E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D811E

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

Preview Lab → · Contrast checker → · Palette generator →

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