#8D8924#8D8924

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

Color values

HEX#8D8924
RGBrgb(141, 137, 36)
HSLhsl(58, 59%, 35%)
HSVhsv(58, 74%, 55%)
CMYKcmyk(0%, 2.8%, 74.5%, 44.7%)
CIE-LABlab(55.77, -10.72, 51.30)
CIE-LCHlch(55.77, 52.41, 101.80°)
OKLaboklab(61.5% -0.0349 0.1132)
OKLCHoklch(61.5% 0.118 107.1)
XYZxyz(20.2494, 23.6821, 5.1732)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8924 #24288D
analogous
#8D5424 #8D8924 #5D8D24
triadic
#8D8924 #248D89 #89248D
tetradic
#8D8924 #248D54 #24288D #8D245D
square
#8D8924 #248D54 #24288D #8D245D
split-complementary
#8D8924 #245D8D #54248D
monochromatic
#2B2A0B #5C5A18 #8D8924 #BEB830 #D4CF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8924#FFFFFF#000000##000000
##8D89241.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)
#958411
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8924;
/* rgb */ color: rgb(141, 137, 36);
/* oklch */ color: oklch(61.5% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8d8924',
    950: '#000000',
  },
}
SCSS
$custom: #8d8924;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8924",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 57.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.11845,
    "h": 107.1
  },
  "luminance": 0.23681
}

Semantic roles & 50–950 ramp

primary
#8D8924
secondary
#5458B8
accent
#4BE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8924

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

Preview Lab → · Contrast checker → · Palette generator →

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