#8D7E27#8D7E27

#8D7E27 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.106 H 99.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D7E27
RGBrgb(141, 126, 39)
HSLhsl(51, 57%, 35%)
HSVhsv(51, 72%, 55%)
CMYKcmyk(0%, 10.6%, 72.3%, 44.7%)
CIE-LABlab(52.65, -4.54, 47.09)
CIE-LCHlch(52.65, 47.31, 95.50°)
OKLaboklab(59.03% -0.0171 0.1049)
OKLCHoklch(59.03% 0.106 99.3)
XYZxyz(18.8124, 20.7318, 4.9298)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E27 #27368D
analogous
#8D4B27 #8D7E27 #698D27
triadic
#8D7E27 #278D7E #7E278D
tetradic
#8D7E27 #278D4B #27368D #8D2769
square
#8D7E27 #278D4B #27368D #8D2769
split-complementary
#8D7E27 #27698D #4B278D
monochromatic
#2D280C #5D531A #8D7E27 #BDA934 #D2C15C

Accessibility & contrast

On white

4.08
#8D7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D7E27#FFFFFF#000000##000000
##8D7E271.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d7e27;
/* rgb */ color: rgb(141, 126, 39);
/* oklch */ color: oklch(59.0% 0.106 99.3);
Tailwind
colors: {
  custom: {
    50: '#b2a367',
    500: '#8d7e27',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e27;
$custom-light: #b2a367;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e27",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 51.176,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59032,
    "c": 0.10625,
    "h": 99.3
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#8D7E27
secondary
#5967B7
accent
#5EE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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