#8D8A29#8D8A29

#8D8A29 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.116 H 107.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D8A29
RGBrgb(141, 138, 41)
HSLhsl(58, 55%, 36%)
HSVhsv(58, 71%, 55%)
CMYKcmyk(0%, 2.1%, 70.9%, 44.7%)
CIE-LABlab(56.09, -11.00, 49.69)
CIE-LCHlch(56.09, 50.89, 102.48°)
OKLaboklab(61.77% -0.0351 0.1107)
OKLCHoklch(61.77% 0.116 107.6)
XYZxyz(20.4740, 24.0004, 5.6515)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A29 #292C8D
analogous
#8D5829 #8D8A29 #5E8D29
triadic
#8D8A29 #298D8A #8A298D
tetradic
#8D8A29 #298D58 #292C8D #8D295E
square
#8D8A29 #298D58 #292C8D #8D295E
split-complementary
#8D8A29 #295E8D #58298D
monochromatic
#2E2D0D #5E5C1B #8D8A29 #BCB837 #D1CD60

Accessibility & contrast

On white

3.62
#8D8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8D8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A29
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A29#FFFFFF#000000##000000
##8D8A291.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96841A
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8a29;
/* rgb */ color: rgb(141, 138, 41);
/* oklch */ color: oklch(61.8% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab69',
    500: '#8d8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a29;
$custom-light: #b1ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a29",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 58.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.11616,
    "h": 107.6
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#8D8A29
secondary
#5B5EB6
accent
#4EDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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