#8D7D25#8D7D25

#8D7D25 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.107 H 98.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7D25
RGBrgb(141, 125, 37)
HSLhsl(51, 58%, 35%)
HSVhsv(51, 74%, 55%)
CMYKcmyk(0%, 11.3%, 73.8%, 44.7%)
CIE-LABlab(52.36, -4.09, 47.61)
CIE-LCHlch(52.36, 47.79, 94.90°)
OKLaboklab(58.79% -0.016 0.1056)
OKLCHoklch(58.79% 0.107 98.6)
XYZxyz(18.6529, 20.4644, 4.7174)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D25 #25358D
analogous
#8D4925 #8D7D25 #698D25
triadic
#8D7D25 #258D7D #7D258D
tetradic
#8D7D25 #258D49 #25358D #8D2569
square
#8D7D25 #258D49 #25358D #8D2569
split-complementary
#8D7D25 #25698D #49258D
monochromatic
#2C270C #5D5218 #8D7D25 #BDA832 #D3C159

Accessibility & contrast

On white

4.12
#8D7D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8D7D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D25#FFFFFF#000000##000000
##8D7D251.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#98736C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d25;
/* rgb */ color: rgb(141, 125, 37);
/* oklch */ color: oklch(58.8% 0.107 98.6);
Tailwind
colors: {
  custom: {
    50: '#b2a266',
    500: '#8d7d25',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d25;
$custom-light: #b2a266;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d25",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 50.769,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.10681,
    "h": 98.6
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#8D7D25
secondary
#5665B8
accent
#5EE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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