#8D8129#8D8129

#8D8129 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.107 H 101.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D8129
RGBrgb(141, 129, 41)
HSLhsl(53, 55%, 36%)
HSVhsv(53, 71%, 55%)
CMYKcmyk(0%, 8.5%, 70.9%, 44.7%)
CIE-LABlab(53.52, -6.09, 47.12)
CIE-LCHlch(53.52, 47.51, 97.37°)
OKLaboklab(59.72% -0.0213 0.1053)
OKLCHoklch(59.72% 0.107 101.4)
XYZxyz(19.2358, 21.5242, 5.2387)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8129 #29358D
analogous
#8D4F29 #8D8129 #678D29
triadic
#8D8129 #298D81 #81298D
tetradic
#8D8129 #298D4F #29358D #8D2967
square
#8D8129 #298D4F #29358D #8D2967
split-complementary
#8D8129 #29678D #4F298D
monochromatic
#2E2A0D #5E561B #8D8129 #BCAC37 #D1C360

Accessibility & contrast

On white

3.96
#8D8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8D8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8129
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8129#FFFFFF#000000##000000
##8D81291.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8129;
/* rgb */ color: rgb(141, 129, 41);
/* oklch */ color: oklch(59.7% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#b1a568',
    500: '#8d8129',
    950: '#000000',
  },
}
SCSS
$custom: #8d8129;
$custom-light: #b1a568;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8129",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 52.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.10743,
    "h": 101.4
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#8D8129
secondary
#5B66B6
accent
#5BDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8129

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

Preview Lab → · Contrast checker → · Palette generator →

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