#8D8925#8D8925

#8D8925 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#8D8925
RGBrgb(141, 137, 37)
HSLhsl(58, 58%, 35%)
HSVhsv(58, 74%, 55%)
CMYKcmyk(0%, 2.8%, 73.8%, 44.7%)
CIE-LABlab(55.77, -10.67, 50.93)
CIE-LCHlch(55.77, 52.04, 101.83°)
OKLaboklab(61.51% -0.0346 0.1126)
OKLCHoklch(61.51% 0.118 107.1)
XYZxyz(20.2649, 23.6883, 5.2547)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8925 #25298D
analogous
#8D5525 #8D8925 #5D8D25
triadic
#8D8925 #258D89 #89258D
tetradic
#8D8925 #258D55 #25298D #8D255D
square
#8D8925 #258D55 #25298D #8D255D
split-complementary
#8D8925 #255D8D #55258D
monochromatic
#2C2B0C #5D5A18 #8D8925 #BDB832 #D3CF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d8925;
/* rgb */ color: rgb(141, 137, 37);
/* oklch */ color: oklch(61.5% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab67',
    500: '#8d8925',
    950: '#000000',
  },
}
SCSS
$custom: #8d8925;
$custom-light: #b2ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8925",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 57.692,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.11782,
    "h": 107.1
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#8D8925
secondary
#565AB8
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8925

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

Preview Lab → · Contrast checker → · Palette generator →

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