#77872B#77872B

#77872B is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.2% C 0.117 H 118.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#77872B
RGBrgb(119, 135, 43)
HSLhsl(70, 52%, 35%)
HSVhsv(70, 68%, 53%)
CMYKcmyk(11.9%, 0%, 68.1%, 47.1%)
CIE-LABlab(53.41, -19.09, 45.56)
CIE-LCHlch(53.41, 49.40, 112.74°)
OKLaboklab(59.18% -0.0562 0.103)
OKLCHoklch(59.18% 0.117 118.6)
XYZxyz(16.7081, 21.4244, 5.5402)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77872B #3B2B87
analogous
#87692B #77872B #49872B
triadic
#77872B #2B7787 #872B77
tetradic
#77872B #2B8769 #3B2B87 #872B49
square
#77872B #2B8769 #3B2B87 #872B49
split-complementary
#77872B #2B4987 #692B87
monochromatic
#252A0D #4E591C #77872B #A0B53A #BACC60

Accessibility & contrast

On white

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

On black

5.28
#77872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77872B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77872B#FFFFFF#000000##000000
##77872B1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1E
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #77872b;
/* rgb */ color: rgb(119, 135, 43);
/* oklch */ color: oklch(59.2% 0.117 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1aa6a',
    500: '#77872b',
    950: '#000000',
  },
}
SCSS
$custom: #77872b;
$custom-light: #a1aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#77872b",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 70.435,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.11736,
    "h": 118.6
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#77872B
secondary
#6B5BB2
accent
#4DDB65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #77872B

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

Preview Lab → · Contrast checker → · Palette generator →

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