#8D811A#8D811A

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

Color values

HEX#8D811A
RGBrgb(141, 129, 26)
HSLhsl(54, 69%, 33%)
HSVhsv(54, 82%, 55%)
CMYKcmyk(0%, 8.5%, 81.6%, 44.7%)
CIE-LABlab(53.43, -6.78, 52.59)
CIE-LCHlch(53.43, 53.03, 97.35°)
OKLaboklab(59.62% -0.0248 0.114)
OKLCHoklch(59.62% 0.117 102.3)
XYZxyz(19.0221, 21.4387, 4.1132)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D811A #1A268D
analogous
#8D471A #8D811A #5F8D1A
triadic
#8D811A #1A8D81 #811A8D
tetradic
#8D811A #1A8D47 #1A268D #8D1A5F
square
#8D811A #1A8D47 #1A268D #8D1A5F
split-complementary
#8D811A #1A5F8D #471A8D
monochromatic
#262207 #595210 #8D811A #C1B024 #DDCD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D811A#FFFFFF#000000##000000
##8D811A1.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)
#8E7D00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d811a;
/* rgb */ color: rgb(141, 129, 26);
/* oklch */ color: oklch(59.6% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#b2a561',
    500: '#8d811a',
    950: '#000000',
  },
}
SCSS
$custom: #8d811a;
$custom-light: #b2a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8d811a",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 53.739,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.11662,
    "h": 102.3
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#8D811A
secondary
#4551BE
accent
#4EEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D811A

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

Preview Lab → · Contrast checker → · Palette generator →

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