#77AF31#77AF31

#77AF31 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.1% C 0.165 H 130.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#77AF31
RGBrgb(119, 175, 49)
HSLhsl(87, 56%, 44%)
HSVhsv(87, 72%, 69%)
CMYKcmyk(32%, 0%, 72%, 31.4%)
CIE-LABlab(65.59, -37.92, 55.59)
CIE-LCHlch(65.59, 67.29, 124.30°)
OKLaboklab(69.06% -0.1074 0.125)
OKLCHoklch(69.06% 0.165 130.7)
XYZxyz(23.4919, 34.8029, 8.3850)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77AF31 #6931AF
analogous
#AFA831 #77AF31 #38AF31
triadic
#77AF31 #3177AF #AF3177
tetradic
#77AF31 #31AFA8 #6931AF #AF3138
square
#77AF31 #31AFA8 #6931AF #AF3138
split-complementary
#77AF31 #3138AF #A831AF
monochromatic
#364F16 #567F24 #77AF31 #96CE4F #B2DB7F

Accessibility & contrast

On white

2.64
#77AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#77AF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #77AF31
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77AF31#FFFFFF#000000##000000
##77AF311.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#7AA896
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #77af31;
/* rgb */ color: rgb(119, 175, 49);
/* oklch */ color: oklch(69.1% 0.165 130.7);
Tailwind
colors: {
  custom: {
    50: '#a3c771',
    500: '#77af31',
    950: '#000000',
  },
}
SCSS
$custom: #77af31;
$custom-light: #a3c771;
$custom-dark: #000000;
JSON
{
  "hex": "#77af31",
  "rgb": {
    "r": 119,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 86.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6906,
    "c": 0.16481,
    "h": 130.7
  },
  "luminance": 0.34804
}

Semantic roles & 50–950 ramp

primary
#77AF31
secondary
#9A78C4
accent
#48E08B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #77AF31

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

Preview Lab → · Contrast checker → · Palette generator →

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