#8D8628#8D8628

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

Color values

HEX#8D8628
RGBrgb(141, 134, 40)
HSLhsl(56, 56%, 35%)
HSVhsv(56, 72%, 55%)
CMYKcmyk(0%, 5%, 71.6%, 44.7%)
CIE-LABlab(54.94, -8.89, 48.94)
CIE-LCHlch(54.94, 49.74, 100.29°)
OKLaboklab(60.85% -0.0293 0.109)
OKLCHoklch(60.85% 0.113 105)
XYZxyz(19.8934, 22.8669, 5.3729)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8628 #282F8D
analogous
#8D5428 #8D8628 #618D28
triadic
#8D8628 #288D86 #86288D
tetradic
#8D8628 #288D54 #282F8D #8D2861
square
#8D8628 #288D54 #282F8D #8D2861
split-complementary
#8D8628 #28618D #54288D
monochromatic
#2E2B0D #5D591A #8D8628 #BDB336 #D1C95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8628#FFFFFF#000000##000000
##8D86281.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)
#928119
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8628;
/* rgb */ color: rgb(141, 134, 40);
/* oklch */ color: oklch(60.8% 0.113 105.0);
Tailwind
colors: {
  custom: {
    50: '#b1a968',
    500: '#8d8628',
    950: '#000000',
  },
}
SCSS
$custom: #8d8628;
$custom-light: #b1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8628",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 55.842,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.11285,
    "h": 105
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#8D8628
secondary
#5A60B7
accent
#53DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8628

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

Preview Lab → · Contrast checker → · Palette generator →

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