#8D811B#8D811B

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

Color values

HEX#8D811B
RGBrgb(141, 129, 27)
HSLhsl(54, 68%, 33%)
HSVhsv(54, 81%, 55%)
CMYKcmyk(0%, 8.5%, 80.9%, 44.7%)
CIE-LABlab(53.43, -6.75, 52.28)
CIE-LCHlch(53.43, 52.71, 97.35°)
OKLaboklab(59.62% -0.0246 0.1135)
OKLCHoklch(59.62% 0.116 102.2)
XYZxyz(19.0335, 21.4432, 4.1731)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D811B #1B278D
analogous
#8D481B #8D811B #608D1B
triadic
#8D811B #1B8D81 #811B8D
tetradic
#8D811B #1B8D48 #1B278D #8D1B60
square
#8D811B #1B8D48 #1B278D #8D1B60
split-complementary
#8D811B #1B608D #481B8D
monochromatic
#262307 #5A5211 #8D811B #C0B025 #DCCC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D811B#FFFFFF#000000##000000
##8D811B1.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)
#918223
Tritanopia (blue-blind)
#98776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d811b;
/* rgb */ color: rgb(141, 129, 27);
/* oklch */ color: oklch(59.6% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b2a561',
    500: '#8d811b',
    950: '#000000',
  },
}
SCSS
$custom: #8d811b;
$custom-light: #b2a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8d811b",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 53.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59625,
    "c": 0.11612,
    "h": 102.2
  },
  "luminance": 0.21442
}

Semantic roles & 50–950 ramp

primary
#8D811B
secondary
#4653BD
accent
#4FEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D811B

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

Preview Lab → · Contrast checker → · Palette generator →

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