#77971F#77971F

#77971F is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.0% C 0.145 H 124.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#77971F
RGBrgb(119, 151, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 79%, 59%)
CMYKcmyk(21.2%, 0%, 79.5%, 40.8%)
CIE-LABlab(58.18, -27.80, 54.66)
CIE-LCHlch(58.18, 61.32, 116.96°)
OKLaboklab(63.01% -0.0813 0.1202)
OKLCHoklch(63.01% 0.145 124.1)
XYZxyz(18.9219, 26.1539, 5.3474)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77971F #3F1F97
analogous
#977B1F #77971F #3B971F
triadic
#77971F #1F7797 #971F77
tetradic
#77971F #1F977B #3F1F97 #971F3B
square
#77971F #1F977B #3F1F97 #971F3B
split-complementary
#77971F #1F3B97 #7B1F97
monochromatic
#27310A #4F6415 #77971F #9FCA29 #B8DC54

Accessibility & contrast

On white

3.37
#77971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#77971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77971F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77971F#FFFFFF#000000##000000
##77971F1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#7D8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #77971f;
/* rgb */ color: rgb(119, 151, 31);
/* oklch */ color: oklch(63.0% 0.145 124.1);
Tailwind
colors: {
  custom: {
    50: '#a2b566',
    500: '#77971f',
    950: '#000000',
  },
}
SCSS
$custom: #77971f;
$custom-light: #a2b566;
$custom-dark: #000000;
JSON
{
  "hex": "#77971f",
  "rgb": {
    "r": 119,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 76,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63007,
    "c": 0.14505,
    "h": 124.1
  },
  "luminance": 0.26154
}

Semantic roles & 50–950 ramp

primary
#77971F
secondary
#6F52BF
accent
#3FE96C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #77971F

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

Preview Lab → · Contrast checker → · Palette generator →

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