#77872F#77872F

#77872F is a mid, moderate yellow-green. Relative luminance 0.215; OKLCH L 59.2% C 0.114 H 118.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#77872F
RGBrgb(119, 135, 47)
HSLhsl(71, 48%, 36%)
HSVhsv(71, 65%, 53%)
CMYKcmyk(11.9%, 0%, 65.2%, 47.1%)
CIE-LABlab(53.44, -18.81, 43.85)
CIE-LCHlch(53.44, 47.72, 113.21°)
OKLaboklab(59.22% -0.055 0.1)
OKLCHoklch(59.22% 0.114 118.8)
XYZxyz(16.7851, 21.4552, 5.9458)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77872F #3F2F87
analogous
#876B2F #77872F #4B872F
triadic
#77872F #2F7787 #872F77
tetradic
#77872F #2F876B #3F2F87 #872F4B
square
#77872F #2F876B #3F2F87 #872F4B
split-complementary
#77872F #2F4B87 #6B2F87
monochromatic
#272C0F #4F5A1F #77872F #9FB43F #B8CA66

Accessibility & contrast

On white

3.97
#77872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#77872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77872F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77872F#FFFFFF#000000##000000
##77872F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#7E8075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #77872f;
/* rgb */ color: rgb(119, 135, 47);
/* oklch */ color: oklch(59.2% 0.114 118.8);
Tailwind
colors: {
  custom: {
    50: '#a1aa6c',
    500: '#77872f',
    950: '#000000',
  },
}
SCSS
$custom: #77872f;
$custom-light: #a1aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#77872f",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 70.909,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.11416,
    "h": 118.8
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#77872F
secondary
#6F61B1
accent
#50D869
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #77872F

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

Preview Lab → · Contrast checker → · Palette generator →

#77872F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva