#77B228#77B228

#77B228 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.7% C 0.174 H 130.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#77B228
RGBrgb(119, 178, 40)
HSLhsl(86, 63%, 43%)
HSVhsv(86, 78%, 70%)
CMYKcmyk(33.1%, 0%, 77.5%, 30.2%)
CIE-LABlab(66.45, -39.77, 59.53)
CIE-LCHlch(66.45, 71.59, 123.75°)
OKLaboklab(69.74% -0.1131 0.1319)
OKLCHoklch(69.74% 0.174 130.6)
XYZxyz(23.9110, 35.9151, 7.6796)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77B228 #6328B2
analogous
#B2A828 #77B228 #32B228
triadic
#77B228 #2877B2 #B22877
tetradic
#77B228 #28B2A8 #6328B2 #B22832
square
#77B228 #28B2A8 #6328B2 #B22832
split-complementary
#77B228 #2832B2 #A828B2
monochromatic
#344E12 #56801D #77B228 #96D543 #B2E075

Accessibility & contrast

On white

2.57
#77B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#77B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #77B228
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77B228#FFFFFF#000000##000000
##77B2281.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA401
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#7AAA98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #77b228;
/* rgb */ color: rgb(119, 178, 40);
/* oklch */ color: oklch(69.7% 0.174 130.6);
Tailwind
colors: {
  custom: {
    50: '#a3c96d',
    500: '#77b228',
    950: '#000000',
  },
}
SCSS
$custom: #77b228;
$custom-light: #a3c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#77b228",
  "rgb": {
    "r": 119,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 85.652,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69744,
    "c": 0.17374,
    "h": 130.6
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#77B228
secondary
#946FC7
accent
#41E688
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #77B228

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

Preview Lab → · Contrast checker → · Palette generator →

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