#8D8928#8D8928

#8D8928 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.116 H 107.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D8928
RGBrgb(141, 137, 40)
HSLhsl(58, 56%, 35%)
HSVhsv(58, 72%, 55%)
CMYKcmyk(0%, 2.8%, 71.6%, 44.7%)
CIE-LABlab(55.79, -10.51, 49.79)
CIE-LCHlch(55.79, 50.89, 101.92°)
OKLaboklab(61.53% -0.0339 0.1108)
OKLCHoklch(61.53% 0.116 107)
XYZxyz(20.3139, 23.7079, 5.5131)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8928 #282C8D
analogous
#8D5628 #8D8928 #5E8D28
triadic
#8D8928 #288D89 #89288D
tetradic
#8D8928 #288D56 #282C8D #8D285E
square
#8D8928 #288D56 #282C8D #8D285E
split-complementary
#8D8928 #285E8D #56288D
monochromatic
#2E2C0D #5D5B1A #8D8928 #BDB736 #D1CD5E

Accessibility & contrast

On white

3.66
#8D8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8D8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8928
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8928#FFFFFF#000000##000000
##8D89281.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#97872F
Tritanopia (blue-blind)
#978076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8928;
/* rgb */ color: rgb(141, 137, 40);
/* oklch */ color: oklch(61.5% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#b1ab69',
    500: '#8d8928',
    950: '#000000',
  },
}
SCSS
$custom: #8d8928;
$custom-light: #b1ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8928",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 57.624,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.11584,
    "h": 107
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#8D8928
secondary
#5A5EB7
accent
#4FDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8928

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

Preview Lab → · Contrast checker → · Palette generator →

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