#8D7E1E#8D7E1E

#8D7E1E is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.112 H 99.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7E1E
RGBrgb(141, 126, 30)
HSLhsl(52, 65%, 34%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 10.6%, 78.7%, 44.7%)
CIE-LABlab(52.60, -4.97, 50.50)
CIE-LCHlch(52.60, 50.75, 95.62°)
OKLaboklab(58.97% -0.0193 0.1103)
OKLCHoklch(58.97% 0.112 99.9)
XYZxyz(18.6806, 20.6791, 4.2355)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E1E #1E2D8D
analogous
#8D461E #8D7E1E #648D1E
triadic
#8D7E1E #1E8D7E #7E1E8D
tetradic
#8D7E1E #1E8D46 #1E2D8D #8D1E64
square
#8D7E1E #1E8D46 #1E2D8D #8D1E64
split-complementary
#8D7E1E #1E648D #461E8D
monochromatic
#282409 #5B5113 #8D7E1E #BFAB29 #D9C64C

Accessibility & contrast

On white

4.09
#8D7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8D7E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E1E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E1E#FFFFFF#000000##000000
##8D7E1E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A09
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e1e;
/* rgb */ color: rgb(141, 126, 30);
/* oklch */ color: oklch(59.0% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#b2a362',
    500: '#8d7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e1e;
$custom-light: #b2a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e1e",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 51.892,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.11198,
    "h": 99.9
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#8D7E1E
secondary
#4B5ABC
accent
#57E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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