#8D8724#8D8724

#8D8724 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.116 H 105.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D8724
RGBrgb(141, 135, 36)
HSLhsl(57, 59%, 35%)
HSVhsv(57, 74%, 55%)
CMYKcmyk(0%, 4.3%, 74.5%, 44.7%)
CIE-LABlab(55.19, -9.64, 50.75)
CIE-LCHlch(55.19, 51.66, 100.75°)
OKLaboklab(61.04% -0.0318 0.112)
OKLCHoklch(61.04% 0.116 105.9)
XYZxyz(19.9677, 23.1188, 5.0793)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8724 #242A8D
analogous
#8D5224 #8D8724 #5F8D24
triadic
#8D8724 #248D87 #87248D
tetradic
#8D8724 #248D52 #242A8D #8D245F
square
#8D8724 #248D52 #242A8D #8D245F
split-complementary
#8D8724 #245F8D #52248D
monochromatic
#2B2A0B #5C5818 #8D8724 #BEB630 #D4CD57

Accessibility & contrast

On white

3.73
#8D8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8D8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8724
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8724#FFFFFF#000000##000000
##8D87241.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8724;
/* rgb */ color: rgb(141, 135, 36);
/* oklch */ color: oklch(61.0% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#b2a966',
    500: '#8d8724',
    950: '#000000',
  },
}
SCSS
$custom: #8d8724;
$custom-light: #b2a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8724",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 56.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.11647,
    "h": 105.9
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#8D8724
secondary
#545AB8
accent
#4EE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8724

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

Preview Lab → · Contrast checker → · Palette generator →

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