#8D7F19#8D7F19

#8D7F19 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#8D7F19
RGBrgb(141, 127, 25)
HSLhsl(53, 70%, 33%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 9.9%, 82.3%, 44.7%)
CIE-LABlab(52.85, -5.72, 52.40)
CIE-LCHlch(52.85, 52.71, 96.23°)
OKLaboklab(59.16% -0.0218 0.1134)
OKLCHoklch(59.16% 0.115 100.9)
XYZxyz(18.7503, 20.9126, 3.9684)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F19 #19278D
analogous
#8D4519 #8D7F19 #618D19
triadic
#8D7F19 #198D7F #7F198D
tetradic
#8D7F19 #198D45 #19278D #8D1961
square
#8D7F19 #198D45 #19278D #8D1961
split-complementary
#8D7F19 #19618D #45198D
monochromatic
#252107 #595010 #8D7F19 #C1AE22 #DECB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7F19#FFFFFF#000000##000000
##8D7F191.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)
#908121
Tritanopia (blue-blind)
#99756C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f19;
/* rgb */ color: rgb(141, 127, 25);
/* oklch */ color: oklch(59.2% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#b2a360',
    500: '#8d7f19',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f19;
$custom-light: #b2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f19",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 52.759,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.11544,
    "h": 100.9
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#8D7F19
secondary
#4352BF
accent
#51ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #8D7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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