#8D7E2F#8D7E2F

#8D7E2F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.100 H 98.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8D7E2F
RGBrgb(141, 126, 47)
HSLhsl(50, 50%, 37%)
HSVhsv(50, 67%, 55%)
CMYKcmyk(0%, 10.6%, 66.7%, 44.7%)
CIE-LABlab(52.72, -4.06, 43.65)
CIE-LCHlch(52.72, 43.84, 95.31°)
OKLaboklab(59.1% -0.0148 0.099)
OKLCHoklch(59.1% 0.1 98.5)
XYZxyz(18.9593, 20.7905, 5.7031)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E2F #2F3E8D
analogous
#8D4F2F #8D7E2F #6D8D2F
triadic
#8D7E2F #2F8D7E #7E2F8D
tetradic
#8D7E2F #2F8D4F #2F3E8D #8D2F6D
square
#8D7E2F #2F8D4F #2F3E8D #8D2F6D
split-complementary
#8D7E2F #2F6D8D #4F2F8D
monochromatic
#312C10 #5F5520 #8D7E2F #BBA73E #CDBD69

Accessibility & contrast

On white

4.07
#8D7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8D7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E2F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E2F#FFFFFF#000000##000000
##8D7E2F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7e2f;
/* rgb */ color: rgb(141, 126, 47);
/* oklch */ color: oklch(59.1% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#b1a36c',
    500: '#8d7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e2f;
$custom-light: #b1a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e2f",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 50.426,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.10012,
    "h": 98.5
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#8D7E2F
secondary
#6470B4
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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