#8D772A#8D772A

#8D772A is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.099 H 92.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D772A
RGBrgb(141, 119, 42)
HSLhsl(47, 54%, 36%)
HSVhsv(47, 70%, 55%)
CMYKcmyk(0%, 15.6%, 70.2%, 44.7%)
CIE-LABlab(50.72, -0.44, 43.82)
CIE-LCHlch(50.72, 43.82, 90.57°)
OKLaboklab(57.51% -0.005 0.0985)
OKLCHoklch(57.51% 0.099 92.9)
XYZxyz(18.0002, 19.0245, 4.9140)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D772A #2A408D
analogous
#8D462A #8D772A #718D2A
triadic
#8D772A #2A8D77 #772A8D
tetradic
#8D772A #2A8D46 #2A408D #8D2A71
square
#8D772A #2A8D46 #2A408D #8D2A71
split-complementary
#8D772A #2A718D #462A8D
monochromatic
#2F270E #5E4F1C #8D772A #BC9F38 #D0B761

Accessibility & contrast

On white

4.37
#8D772A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8D772A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D772A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D772A#FFFFFF#000000##000000
##8D772A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#986D67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d772a;
/* rgb */ color: rgb(141, 119, 42);
/* oklch */ color: oklch(57.5% 0.099 92.9);
Tailwind
colors: {
  custom: {
    50: '#b19d68',
    500: '#8d772a',
    950: '#000000',
  },
}
SCSS
$custom: #8d772a;
$custom-light: #b19d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8d772a",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 46.667,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.09865,
    "h": 92.9
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#8D772A
secondary
#5D71B6
accent
#6BDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D772A

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

Preview Lab → · Contrast checker → · Palette generator →

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