#77872A#77872A

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

Color values

HEX#77872A
RGBrgb(119, 135, 42)
HSLhsl(70, 53%, 35%)
HSVhsv(70, 69%, 53%)
CMYKcmyk(11.9%, 0%, 68.9%, 47.1%)
CIE-LABlab(53.40, -19.16, 45.98)
CIE-LCHlch(53.40, 49.81, 112.62°)
OKLaboklab(59.17% -0.0565 0.1037)
OKLCHoklch(59.17% 0.118 118.6)
XYZxyz(16.6900, 21.4172, 5.4447)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77872A #3A2A87
analogous
#87692A #77872A #48872A
triadic
#77872A #2A7787 #872A77
tetradic
#77872A #2A8769 #3A2A87 #872A48
square
#77872A #2A8769 #3A2A87 #872A48
split-complementary
#77872A #2A4887 #692A87
monochromatic
#252A0D #4E581B #77872A #A0B639 #BACD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77872A#FFFFFF#000000##000000
##77872A1.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)
#907F1D
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #77872a;
/* rgb */ color: rgb(119, 135, 42);
/* oklch */ color: oklch(59.2% 0.118 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1a969',
    500: '#77872a',
    950: '#000000',
  },
}
SCSS
$custom: #77872a;
$custom-light: #a1a969;
$custom-dark: #000000;
JSON
{
  "hex": "#77872a",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 70.323,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.11813,
    "h": 118.6
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#77872A
secondary
#695AB3
accent
#4CDC65
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #77872A

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

Preview Lab → · Contrast checker → · Palette generator →

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