#8D8224#8D8224

#8D8224 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.112 H 102.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8D8224
RGBrgb(141, 130, 36)
HSLhsl(54, 59%, 35%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.8%, 74.5%, 44.7%)
CIE-LABlab(53.77, -6.91, 49.38)
CIE-LCHlch(53.77, 49.86, 97.96°)
OKLaboklab(59.91% -0.0241 0.1091)
OKLCHoklch(59.91% 0.112 102.5)
XYZxyz(19.2864, 21.7562, 4.8522)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8224 #242F8D
analogous
#8D4D24 #8D8224 #648D24
triadic
#8D8224 #248D82 #82248D
tetradic
#8D8224 #248D4D #242F8D #8D2464
square
#8D8224 #248D4D #242F8D #8D2464
split-complementary
#8D8224 #24648D #4D248D
monochromatic
#2B280B #5C5518 #8D8224 #BEAF30 #D4C757

Accessibility & contrast

On white

3.92
#8D8224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8D8224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8224
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8224#FFFFFF#000000##000000
##8D82241.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#987870
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8224;
/* rgb */ color: rgb(141, 130, 36);
/* oklch */ color: oklch(59.9% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#b2a666',
    500: '#8d8224',
    950: '#000000',
  },
}
SCSS
$custom: #8d8224;
$custom-light: #b2a666;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8224",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 53.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.11178,
    "h": 102.5
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#8D8224
secondary
#545FB8
accent
#56E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8224

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

Preview Lab → · Contrast checker → · Palette generator →

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