#8D7D1E#8D7D1E

#8D7D1E is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.111 H 99.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D7D1E
RGBrgb(141, 125, 30)
HSLhsl(51, 65%, 34%)
HSVhsv(51, 79%, 55%)
CMYKcmyk(0%, 11.3%, 78.7%, 44.7%)
CIE-LABlab(52.31, -4.41, 50.24)
CIE-LCHlch(52.31, 50.44, 95.02°)
OKLaboklab(58.74% -0.0177 0.1098)
OKLCHoklch(58.74% 0.111 99.2)
XYZxyz(18.5534, 20.4246, 4.1931)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7D1E #1E2E8D
analogous
#8D451E #8D7D1E #658D1E
triadic
#8D7D1E #1E8D7D #7D1E8D
tetradic
#8D7D1E #1E8D45 #1E2E8D #8D1E65
square
#8D7D1E #1E8D45 #1E2E8D #8D1E65
split-complementary
#8D7D1E #1E658D #451E8D
monochromatic
#282409 #5B5013 #8D7D1E #BFAA29 #D9C54C

Accessibility & contrast

On white

4.13
#8D7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7D1E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7D1E#FFFFFF#000000##000000
##8D7D1E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7d1e;
/* rgb */ color: rgb(141, 125, 30);
/* oklch */ color: oklch(58.7% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#b2a262',
    500: '#8d7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7d1e;
$custom-light: #b2a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7d1e",
  "rgb": {
    "r": 141,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 51.351,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.11118,
    "h": 99.2
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#8D7D1E
secondary
#4B5BBC
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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