#8D8929#8D8929

#8D8929 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.115 H 107.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D8929
RGBrgb(141, 137, 41)
HSLhsl(58, 55%, 36%)
HSVhsv(58, 71%, 55%)
CMYKcmyk(0%, 2.8%, 70.9%, 44.7%)
CIE-LABlab(55.80, -10.46, 49.40)
CIE-LCHlch(55.80, 50.50, 101.95°)
OKLaboklab(61.54% -0.0336 0.1101)
OKLCHoklch(61.54% 0.115 107)
XYZxyz(20.3312, 23.7148, 5.6038)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8929 #292D8D
analogous
#8D5729 #8D8929 #5F8D29
triadic
#8D8929 #298D89 #89298D
tetradic
#8D8929 #298D57 #292D8D #8D295F
square
#8D8929 #298D57 #292D8D #8D295F
split-complementary
#8D8929 #295F8D #57298D
monochromatic
#2E2D0D #5E5B1B #8D8929 #BCB737 #D1CC60

Accessibility & contrast

On white

3.66
#8D8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8D8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8929
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8929#FFFFFF#000000##000000
##8D89291.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8929;
/* rgb */ color: rgb(141, 137, 41);
/* oklch */ color: oklch(61.5% 0.115 107.0);
Tailwind
colors: {
  custom: {
    50: '#b1ab69',
    500: '#8d8929',
    950: '#000000',
  },
}
SCSS
$custom: #8d8929;
$custom-light: #b1ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8929",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 57.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.11514,
    "h": 107
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#8D8929
secondary
#5B5FB6
accent
#4FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8929

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

Preview Lab → · Contrast checker → · Palette generator →

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