#8D7E2D#8D7E2D

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

Color values

HEX#8D7E2D
RGBrgb(141, 126, 45)
HSLhsl(51, 52%, 36%)
HSVhsv(51, 68%, 55%)
CMYKcmyk(0%, 10.6%, 68.1%, 44.7%)
CIE-LABlab(52.70, -4.19, 44.54)
CIE-LCHlch(52.70, 44.74, 95.37°)
OKLaboklab(59.09% -0.0154 0.1006)
OKLCHoklch(59.09% 0.102 98.7)
XYZxyz(18.9199, 20.7748, 5.4955)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E2D #2D3C8D
analogous
#8D4E2D #8D7E2D #6C8D2D
triadic
#8D7E2D #2D8D7E #7E2D8D
tetradic
#8D7E2D #2D8D4E #2D3C8D #8D2D6C
square
#8D7E2D #2D8D4E #2D3C8D #8D2D6C
split-complementary
#8D7E2D #2D6C8D #4E2D8D
monochromatic
#302B0F #5F551E #8D7E2D #BBA73C #CEBE66

Accessibility & contrast

On white

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

On black

5.15
#8D7E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E2D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E2D#FFFFFF#000000##000000
##8D7E2D1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7e2d;
/* rgb */ color: rgb(141, 126, 45);
/* oklch */ color: oklch(59.1% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#b1a36a',
    500: '#8d7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e2d;
$custom-light: #b1a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e2d",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 50.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.10174,
    "h": 98.7
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#8D7E2D
secondary
#616EB5
accent
#63DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8D7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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