#8D8729#8D8729

#8D8729 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.113 H 105.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8D8729
RGBrgb(141, 135, 41)
HSLhsl(56, 55%, 36%)
HSVhsv(56, 71%, 55%)
CMYKcmyk(0%, 4.3%, 70.9%, 44.7%)
CIE-LABlab(55.23, -9.38, 48.83)
CIE-LCHlch(55.23, 49.72, 100.87°)
OKLaboklab(61.08% -0.0306 0.1089)
OKLCHoklch(61.08% 0.113 105.7)
XYZxyz(20.0495, 23.1515, 5.5100)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8729 #292F8D
analogous
#8D5529 #8D8729 #618D29
triadic
#8D8729 #298D87 #87298D
tetradic
#8D8729 #298D55 #292F8D #8D2961
square
#8D8729 #298D55 #292F8D #8D2961
split-complementary
#8D8729 #29618D #55298D
monochromatic
#2E2C0D #5E5A1B #8D8729 #BCB437 #D1CA60

Accessibility & contrast

On white

3.73
#8D8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8D8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8729
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8729#FFFFFF#000000##000000
##8D87291.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8729;
/* rgb */ color: rgb(141, 135, 41);
/* oklch */ color: oklch(61.1% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#b1a969',
    500: '#8d8729',
    950: '#000000',
  },
}
SCSS
$custom: #8d8729;
$custom-light: #b1a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8729",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 56.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.11313,
    "h": 105.7
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#8D8729
secondary
#5B61B6
accent
#52DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8729

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

Preview Lab → · Contrast checker → · Palette generator →

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