#8D7F1E#8D7F1E

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

Color values

HEX#8D7F1E
RGBrgb(141, 127, 30)
HSLhsl(52, 65%, 34%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 9.9%, 78.7%, 44.7%)
CIE-LABlab(52.88, -5.52, 50.76)
CIE-LCHlch(52.88, 51.06, 96.21°)
OKLaboklab(59.19% -0.0208 0.1109)
OKLCHoklch(59.19% 0.113 100.7)
XYZxyz(18.8091, 20.9361, 4.2784)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7F1E #1E2C8D
analogous
#8D471E #8D7F1E #638D1E
triadic
#8D7F1E #1E8D7F #7F1E8D
tetradic
#8D7F1E #1E8D47 #1E2C8D #8D1E63
square
#8D7F1E #1E8D47 #1E2C8D #8D1E63
split-complementary
#8D7F1E #1E638D #471E8D
monochromatic
#282409 #5B5213 #8D7F1E #BFAC29 #D9C74C

Accessibility & contrast

On white

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

On black

5.19
#8D7F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7F1E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7F1E#FFFFFF#000000##000000
##8D7F1E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7f1e;
/* rgb */ color: rgb(141, 127, 30);
/* oklch */ color: oklch(59.2% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#b2a362',
    500: '#8d7f1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d7f1e;
$custom-light: #b2a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7f1e",
  "rgb": {
    "r": 141,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 52.432,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.11281,
    "h": 100.7
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#8D7F1E
secondary
#4B59BC
accent
#55E840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D7F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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