#8D8126#8D8126

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

Color values

HEX#8D8126
RGBrgb(141, 129, 38)
HSLhsl(53, 58%, 35%)
HSVhsv(53, 73%, 55%)
CMYKcmyk(0%, 8.5%, 73%, 44.7%)
CIE-LABlab(53.50, -6.25, 48.33)
CIE-LCHlch(53.50, 48.73, 97.37°)
OKLaboklab(59.7% -0.0221 0.1073)
OKLCHoklch(59.7% 0.11 101.6)
XYZxyz(19.1855, 21.5040, 4.9735)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8126 #26328D
analogous
#8D4E26 #8D8126 #658D26
triadic
#8D8126 #268D81 #81268D
tetradic
#8D8126 #268D4E #26328D #8D2665
square
#8D8126 #268D4E #26328D #8D2665
split-complementary
#8D8126 #26658D #4E268D
monochromatic
#2D290C #5D5519 #8D8126 #BDAD33 #D3C55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8126#FFFFFF#000000##000000
##8D81261.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)
#8D7D17
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#98786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8126;
/* rgb */ color: rgb(141, 129, 38);
/* oklch */ color: oklch(59.7% 0.110 101.6);
Tailwind
colors: {
  custom: {
    50: '#b2a567',
    500: '#8d8126',
    950: '#000000',
  },
}
SCSS
$custom: #8d8126;
$custom-light: #b2a567;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8126",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 53.01,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.10955,
    "h": 101.6
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#8D8126
secondary
#5762B8
accent
#59E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8126

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

Preview Lab → · Contrast checker → · Palette generator →

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