#8D772F#8D772F

#8D772F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.095 H 92.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D772F
RGBrgb(141, 119, 47)
HSLhsl(46, 50%, 37%)
HSVhsv(46, 67%, 55%)
CMYKcmyk(0%, 15.6%, 66.7%, 44.7%)
CIE-LABlab(50.76, -0.12, 41.55)
CIE-LCHlch(50.76, 41.55, 90.17°)
OKLaboklab(57.55% -0.0035 0.0946)
OKLCHoklch(57.55% 0.095 92.1)
XYZxyz(18.0953, 19.0626, 5.4151)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D772F #2F458D
analogous
#8D482F #8D772F #748D2F
triadic
#8D772F #2F8D77 #772F8D
tetradic
#8D772F #2F8D48 #2F458D #8D2F74
square
#8D772F #2F8D48 #2F458D #8D2F74
split-complementary
#8D772F #2F748D #482F8D
monochromatic
#312A10 #5F5020 #8D772F #BB9E3E #CDB669

Accessibility & contrast

On white

4.36
#8D772F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D772F#FFFFFF#000000##000000
##8D772F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847527
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#986E68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d772f;
/* rgb */ color: rgb(141, 119, 47);
/* oklch */ color: oklch(57.6% 0.095 92.1);
Tailwind
colors: {
  custom: {
    50: '#b19e6b',
    500: '#8d772f',
    950: '#000000',
  },
}
SCSS
$custom: #8d772f;
$custom-light: #b19e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d772f",
  "rgb": {
    "r": 141,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 45.957,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.09464,
    "h": 92.1
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#8D772F
secondary
#6476B4
accent
#6FDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D772F

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

Preview Lab → · Contrast checker → · Palette generator →

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