#77A227#77A227

#77A227 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.154 H 127.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#77A227
RGBrgb(119, 162, 39)
HSLhsl(81, 61%, 39%)
HSVhsv(81, 76%, 64%)
CMYKcmyk(26.5%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.58, -32.61, 55.22)
CIE-LCHlch(61.58, 64.13, 120.57°)
OKLaboklab(65.77% -0.0938 0.1227)
OKLCHoklch(65.77% 0.154 127.4)
XYZxyz(20.8943, 29.9086, 6.5912)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77A227 #5227A2
analogous
#A29027 #77A227 #39A227
triadic
#77A227 #2777A2 #A22777
tetradic
#77A227 #27A290 #5227A2 #A22739
square
#77A227 #27A290 #5227A2 #A22739
split-complementary
#77A227 #2739A2 #9027A2
monochromatic
#2F3F0F #53711B #77A227 #9ACF37 #B3DB69

Accessibility & contrast

On white

3.01
#77A227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#77A227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77A227
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77A227#FFFFFF#000000##000000
##77A2271.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA970B
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#7C9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #77a227;
/* rgb */ color: rgb(119, 162, 39);
/* oklch */ color: oklch(65.8% 0.154 127.4);
Tailwind
colors: {
  custom: {
    50: '#a2bd6b',
    500: '#77a227',
    950: '#000000',
  },
}
SCSS
$custom: #77a227;
$custom-light: #a2bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#77a227",
  "rgb": {
    "r": 119,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 80.976,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65772,
    "c": 0.1544,
    "h": 127.4
  },
  "luminance": 0.29909
}

Semantic roles & 50–950 ramp

primary
#77A227
secondary
#8464C1
accent
#43E47C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #77A227

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

Preview Lab → · Contrast checker → · Palette generator →

#77A227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva