#8D8627#8D8627

#8D8627 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#8D8627
RGBrgb(141, 134, 39)
HSLhsl(56, 57%, 35%)
HSVhsv(56, 72%, 55%)
CMYKcmyk(0%, 5%, 72.3%, 44.7%)
CIE-LABlab(54.93, -8.94, 49.34)
CIE-LCHlch(54.93, 50.14, 100.27°)
OKLaboklab(60.84% -0.0295 0.1096)
OKLCHoklch(60.84% 0.114 105.1)
XYZxyz(19.8766, 22.8601, 5.2845)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8627 #272E8D
analogous
#8D5327 #8D8627 #618D27
triadic
#8D8627 #278D86 #86278D
tetradic
#8D8627 #278D53 #272E8D #8D2761
square
#8D8627 #278D53 #272E8D #8D2761
split-complementary
#8D8627 #27618D #53278D
monochromatic
#2D2B0C #5D581A #8D8627 #BDB434 #D2CA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d8627;
/* rgb */ color: rgb(141, 134, 39);
/* oklch */ color: oklch(60.8% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#b1a968',
    500: '#8d8627',
    950: '#000000',
  },
}
SCSS
$custom: #8d8627;
$custom-light: #b1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8627",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 55.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.11353,
    "h": 105.1
  },
  "luminance": 0.22859
}

Semantic roles & 50–950 ramp

primary
#8D8627
secondary
#595FB7
accent
#52E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8627

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

Preview Lab → · Contrast checker → · Palette generator →

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