#8D8725#8D8725

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

Color values

HEX#8D8725
RGBrgb(141, 135, 37)
HSLhsl(57, 58%, 35%)
HSVhsv(57, 74%, 55%)
CMYKcmyk(0%, 4.3%, 73.8%, 44.7%)
CIE-LABlab(55.20, -9.59, 50.38)
CIE-LCHlch(55.20, 51.28, 100.78°)
OKLaboklab(61.05% -0.0316 0.1115)
OKLCHoklch(61.05% 0.116 105.8)
XYZxyz(19.9832, 23.1250, 5.1608)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8725 #252B8D
analogous
#8D5325 #8D8725 #5F8D25
triadic
#8D8725 #258D87 #87258D
tetradic
#8D8725 #258D53 #252B8D #8D255F
square
#8D8725 #258D53 #252B8D #8D255F
split-complementary
#8D8725 #255F8D #53258D
monochromatic
#2C2A0C #5D5918 #8D8725 #BDB532 #D3CC59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8725#FFFFFF#000000##000000
##8D87251.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)
#938214
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8725;
/* rgb */ color: rgb(141, 135, 37);
/* oklch */ color: oklch(61.1% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#b2a967',
    500: '#8d8725',
    950: '#000000',
  },
}
SCSS
$custom: #8d8725;
$custom-light: #b2a967;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8725",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 56.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.11584,
    "h": 105.8
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#8D8725
secondary
#565BB8
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8725

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

Preview Lab → · Contrast checker → · Palette generator →

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