#8D8225#8D8225

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

Color values

HEX#8D8225
RGBrgb(141, 130, 37)
HSLhsl(54, 58%, 35%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.8%, 73.8%, 44.7%)
CIE-LABlab(53.77, -6.86, 49.00)
CIE-LCHlch(53.77, 49.48, 97.97°)
OKLaboklab(59.92% -0.0239 0.1085)
OKLCHoklch(59.92% 0.111 102.4)
XYZxyz(19.3019, 21.7624, 4.9338)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8225 #25308D
analogous
#8D4E25 #8D8225 #648D25
triadic
#8D8225 #258D82 #82258D
tetradic
#8D8225 #258D4E #25308D #8D2564
square
#8D8225 #258D4E #25308D #8D2564
split-complementary
#8D8225 #25648D #4E258D
monochromatic
#2C290C #5D5518 #8D8225 #BDAF32 #D3C659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8225#FFFFFF#000000##000000
##8D82251.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)
#8E7E15
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8225;
/* rgb */ color: rgb(141, 130, 37);
/* oklch */ color: oklch(59.9% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#b2a666',
    500: '#8d8225',
    950: '#000000',
  },
}
SCSS
$custom: #8d8225;
$custom-light: #b2a666;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8225",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 53.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.11112,
    "h": 102.4
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#8D8225
secondary
#5660B8
accent
#57E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8225

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

Preview Lab → · Contrast checker → · Palette generator →

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