#8D8626#8D8626

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

Color values

HEX#8D8626
RGBrgb(141, 134, 38)
HSLhsl(56, 58%, 35%)
HSVhsv(56, 73%, 55%)
CMYKcmyk(0%, 5%, 73%, 44.7%)
CIE-LABlab(54.92, -8.99, 49.72)
CIE-LCHlch(54.92, 50.53, 100.25°)
OKLaboklab(60.83% -0.0298 0.1103)
OKLCHoklch(60.83% 0.114 105.1)
XYZxyz(19.8603, 22.8536, 5.1984)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8626 #262D8D
analogous
#8D5226 #8D8626 #618D26
triadic
#8D8626 #268D86 #86268D
tetradic
#8D8626 #268D52 #262D8D #8D2661
square
#8D8626 #268D52 #262D8D #8D2661
split-complementary
#8D8626 #26618D #52268D
monochromatic
#2D2A0C #5D5819 #8D8626 #BDB433 #D3CB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8626#FFFFFF#000000##000000
##8D86261.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)
#928116
Deuteranopia (green-blind)
#95852D
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8626;
/* rgb */ color: rgb(141, 134, 38);
/* oklch */ color: oklch(60.8% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#b1a867',
    500: '#8d8626',
    950: '#000000',
  },
}
SCSS
$custom: #8d8626;
$custom-light: #b1a867;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8626",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 55.922,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.11421,
    "h": 105.1
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#8D8626
secondary
#575EB8
accent
#51E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8626

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

Preview Lab → · Contrast checker → · Palette generator →

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