#8D7F1A#8D7F1A

#8D7F1A is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.115 H 100.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D7F1A
RGBrgb(141, 127, 26)
HSLhsl(53, 69%, 33%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 9.9%, 81.6%, 44.7%)
CIE-LABlab(52.86, -5.68, 52.09)
CIE-LCHlch(52.86, 52.40, 96.22°)
OKLaboklab(59.17% -0.0217 0.1129)
OKLCHoklch(59.17% 0.115 100.9)
XYZxyz(18.7613, 20.9169, 4.0262)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F1A #1A288D
analogous
#8D461A #8D7F1A #618D1A
triadic
#8D7F1A #1A8D7F #7F1A8D
tetradic
#8D7F1A #1A8D46 #1A288D #8D1A61
square
#8D7F1A #1A8D46 #1A288D #8D1A61
split-complementary
#8D7F1A #1A618D #461A8D
monochromatic
#262207 #595010 #8D7F1A #C1AE24 #DDCA45

Accessibility & contrast

On white

4.05
#8D7F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8D7F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F1A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F1A#FFFFFF#000000##000000
##8D7F1A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#99756C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f1a;
/* rgb */ color: rgb(141, 127, 26);
/* oklch */ color: oklch(59.2% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#b2a361',
    500: '#8d7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f1a;
$custom-light: #b2a361;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f1a",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 52.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.11494,
    "h": 100.9
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#8D7F1A
secondary
#4554BE
accent
#51EC3C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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