#8D8625#8D8625

#8D8625 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.115 H 105.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8D8625
RGBrgb(141, 134, 37)
HSLhsl(56, 58%, 35%)
HSVhsv(56, 74%, 55%)
CMYKcmyk(0%, 5%, 73.8%, 44.7%)
CIE-LABlab(54.91, -9.04, 50.10)
CIE-LCHlch(54.91, 50.91, 100.23°)
OKLaboklab(60.82% -0.0301 0.1109)
OKLCHoklch(60.82% 0.115 105.2)
XYZxyz(19.8443, 22.8472, 5.1146)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8625 #252C8D
analogous
#8D5225 #8D8625 #608D25
triadic
#8D8625 #258D86 #86258D
tetradic
#8D8625 #258D52 #252C8D #8D2560
square
#8D8625 #258D52 #252C8D #8D2560
split-complementary
#8D8625 #25608D #52258D
monochromatic
#2C2A0C #5D5818 #8D8625 #BDB432 #D3CB59

Accessibility & contrast

On white

3.77
#8D8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8D8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8625
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8625#FFFFFF#000000##000000
##8D86251.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#95852C
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8625;
/* rgb */ color: rgb(141, 134, 37);
/* oklch */ color: oklch(60.8% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#b2a867',
    500: '#8d8625',
    950: '#000000',
  },
}
SCSS
$custom: #8d8625;
$custom-light: #b2a867;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8625",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 55.962,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.11486,
    "h": 105.2
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#8D8625
secondary
#565CB8
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8625

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

Preview Lab → · Contrast checker → · Palette generator →

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