#3D771A#3D771A

#3D771A is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.137 H 136.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3D771A
RGBrgb(61, 119, 26)
HSLhsl(97, 64%, 28%)
HSVhsv(97, 78%, 47%)
CMYKcmyk(48.7%, 0%, 78.2%, 53.3%)
CIE-LABlab(44.60, -35.82, 42.32)
CIE-LCHlch(44.60, 55.44, 130.25°)
OKLaboklab(51.05% -0.0996 0.0948)
OKLCHoklch(51.05% 0.137 136.4)
XYZxyz(8.7075, 14.2598, 3.2707)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D771A #541A77
analogous
#6B771A #3D771A #1A7725
triadic
#3D771A #1A3D77 #771A3D
tetradic
#3D771A #1A6B77 #541A77 #77251A
square
#3D771A #1A6B77 #541A77 #77251A
split-complementary
#3D771A #251A77 #771A6B
monochromatic
#0D1905 #23450F #3D771A #57A925 #72D338

Accessibility & contrast

On white

5.45
#3D771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3D771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D771A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D771A#FFFFFF#000000##FFFFFF
##3D771A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#3A7265
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d771a;
/* rgb */ color: rgb(61, 119, 26);
/* oklch */ color: oklch(51.1% 0.137 136.4);
Tailwind
colors: {
  custom: {
    50: '#799f5e',
    500: '#3d771a',
    950: '#000000',
  },
}
SCSS
$custom: #3d771a;
$custom-light: #799f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d771a",
  "rgb": {
    "r": 61,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 97.419,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.13749,
    "h": 136.4
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#3D771A
secondary
#8441AC
accent
#41E7A8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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