#8D772B#8D772B

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

Color values

HEX#8D772B
RGBrgb(141, 119, 43)
HSLhsl(47, 53%, 36%)
HSVhsv(47, 70%, 55%)
CMYKcmyk(0%, 15.6%, 69.5%, 44.7%)
CIE-LABlab(50.72, -0.38, 43.38)
CIE-LCHlch(50.72, 43.38, 90.50°)
OKLaboklab(57.51% -0.0047 0.0978)
OKLCHoklch(57.51% 0.098 92.8)
XYZxyz(18.0183, 19.0318, 5.0095)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D772B #2B418D
analogous
#8D462B #8D772B #728D2B
triadic
#8D772B #2B8D77 #772B8D
tetradic
#8D772B #2B8D46 #2B418D #8D2B72
square
#8D772B #2B8D46 #2B418D #8D2B72
split-complementary
#8D772B #2B728D #462B8D
monochromatic
#2F280E #5E4F1D #8D772B #BC9F39 #CFB763

Accessibility & contrast

On white

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

On black

4.81
#8D772B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D772B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D772B#FFFFFF#000000##000000
##8D772B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d772b;
/* rgb */ color: rgb(141, 119, 43);
/* oklch */ color: oklch(57.5% 0.098 92.8);
Tailwind
colors: {
  custom: {
    50: '#b19d69',
    500: '#8d772b',
    950: '#000000',
  },
}
SCSS
$custom: #8d772b;
$custom-light: #b19d69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d772b",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 46.531,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.09787,
    "h": 92.8
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#8D772B
secondary
#5E72B6
accent
#6CDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D772B

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

Preview Lab → · Contrast checker → · Palette generator →

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