#8D7E1A#8D7E1A

#8D7E1A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.114 H 100.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8D7E1A
RGBrgb(141, 126, 26)
HSLhsl(52, 69%, 33%)
HSVhsv(52, 82%, 55%)
CMYKcmyk(0%, 10.6%, 81.6%, 44.7%)
CIE-LABlab(52.58, -5.13, 51.84)
CIE-LCHlch(52.58, 52.09, 95.65°)
OKLaboklab(58.94% -0.0201 0.1123)
OKLCHoklch(58.94% 0.114 100.1)
XYZxyz(18.6328, 20.6599, 3.9834)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E1A #1A298D
analogous
#8D451A #8D7E1A #628D1A
triadic
#8D7E1A #1A8D7E #7E1A8D
tetradic
#8D7E1A #1A8D45 #1A298D #8D1A62
square
#8D7E1A #1A8D45 #1A298D #8D1A62
split-complementary
#8D7E1A #1A628D #451A8D
monochromatic
#262207 #595010 #8D7E1A #C1AC24 #DDC945

Accessibility & contrast

On white

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

On black

5.13
#8D7E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E1A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E1A#FFFFFF#000000##000000
##8D7E1A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d7e1a;
/* rgb */ color: rgb(141, 126, 26);
/* oklch */ color: oklch(58.9% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b2a360',
    500: '#8d7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e1a;
$custom-light: #b2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e1a",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 52.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.11412,
    "h": 100.1
  },
  "luminance": 0.20659
}

Semantic roles & 50–950 ramp

primary
#8D7E1A
secondary
#4555BE
accent
#53EC3C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8D7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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