#8D7927#8D7927

#8D7927 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.102 H 95.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D7927
RGBrgb(141, 121, 39)
HSLhsl(48, 57%, 35%)
HSVhsv(48, 72%, 55%)
CMYKcmyk(0%, 14.2%, 72.3%, 44.7%)
CIE-LABlab(51.25, -1.74, 45.68)
CIE-LCHlch(51.25, 45.71, 92.18°)
OKLaboklab(57.92% -0.0091 0.1019)
OKLCHoklch(57.92% 0.102 95.1)
XYZxyz(18.1890, 19.4849, 4.7220)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7927 #273B8D
analogous
#8D4627 #8D7927 #6E8D27
triadic
#8D7927 #278D79 #79278D
tetradic
#8D7927 #278D46 #273B8D #8D276E
square
#8D7927 #278D46 #273B8D #8D276E
split-complementary
#8D7927 #276E8D #46278D
monochromatic
#2D270C #5D501A #8D7927 #BDA234 #D2BB5C

Accessibility & contrast

On white

4.29
#8D7927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8D7927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7927
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7927#FFFFFF#000000##000000
##8D79271.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771B
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#986F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7927;
/* rgb */ color: rgb(141, 121, 39);
/* oklch */ color: oklch(57.9% 0.102 95.1);
Tailwind
colors: {
  custom: {
    50: '#b29f66',
    500: '#8d7927',
    950: '#000000',
  },
}
SCSS
$custom: #8d7927;
$custom-light: #b29f66;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7927",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 48.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.1023,
    "h": 95.1
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#8D7927
secondary
#596BB7
accent
#66E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7927

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

Preview Lab → · Contrast checker → · Palette generator →

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