#8D8629#8D8629

#8D8629 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.112 H 105.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8D8629
RGBrgb(141, 134, 41)
HSLhsl(56, 55%, 36%)
HSVhsv(56, 71%, 55%)
CMYKcmyk(0%, 5%, 70.9%, 44.7%)
CIE-LABlab(54.94, -8.83, 48.55)
CIE-LCHlch(54.94, 49.34, 100.31°)
OKLaboklab(60.85% -0.029 0.1083)
OKLCHoklch(60.85% 0.112 105)
XYZxyz(19.9106, 22.8738, 5.4637)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8629 #29308D
analogous
#8D5429 #8D8629 #628D29
triadic
#8D8629 #298D86 #86298D
tetradic
#8D8629 #298D54 #29308D #8D2962
square
#8D8629 #298D54 #29308D #8D2962
split-complementary
#8D8629 #29628D #54298D
monochromatic
#2E2C0D #5E591B #8D8629 #BCB337 #D1C960

Accessibility & contrast

On white

3.77
#8D8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8D8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8629
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8629#FFFFFF#000000##000000
##8D86291.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8629;
/* rgb */ color: rgb(141, 134, 41);
/* oklch */ color: oklch(60.9% 0.112 105.0);
Tailwind
colors: {
  custom: {
    50: '#b1a969',
    500: '#8d8629',
    950: '#000000',
  },
}
SCSS
$custom: #8d8629;
$custom-light: #b1a969;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8629",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 55.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.11214,
    "h": 105
  },
  "luminance": 0.22873
}

Semantic roles & 50–950 ramp

primary
#8D8629
secondary
#5B62B6
accent
#54DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8629

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

Preview Lab → · Contrast checker → · Palette generator →

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