#3A771A#3A771A

#3A771A is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 50.9% C 0.139 H 137.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3A771A
RGBrgb(58, 119, 26)
HSLhsl(99, 64%, 28%)
HSVhsv(99, 78%, 47%)
CMYKcmyk(51.3%, 0%, 78.2%, 53.3%)
CIE-LABlab(44.47, -36.81, 42.14)
CIE-LCHlch(44.47, 55.96, 131.14°)
OKLaboklab(50.91% -0.1021 0.0944)
OKLCHoklch(50.91% 0.139 137.2)
XYZxyz(8.5279, 14.1672, 3.2622)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A771A #571A77
analogous
#68771A #3A771A #1A7728
triadic
#3A771A #1A3A77 #771A3A
tetradic
#3A771A #1A6877 #571A77 #77281A
square
#3A771A #1A6877 #571A77 #77281A
split-complementary
#3A771A #281A77 #771A68
monochromatic
#0C1905 #22450F #3A771A #52A925 #6DD338

Accessibility & contrast

On white

5.48
#3A771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3A771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A771A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A771A#FFFFFF#000000##FFFFFF
##3A771A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#367365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a771a;
/* rgb */ color: rgb(58, 119, 26);
/* oklch */ color: oklch(50.9% 0.139 137.2);
Tailwind
colors: {
  custom: {
    50: '#779f5e',
    500: '#3a771a',
    950: '#000000',
  },
}
SCSS
$custom: #3a771a;
$custom-light: #779f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a771a",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 99.355,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.13907,
    "h": 137.2
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#3A771A
secondary
#8741AC
accent
#41E7AE
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A771A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A771A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva