#3E771C#3E771C

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

Color values

HEX#3E771C
RGBrgb(62, 119, 28)
HSLhsl(98, 62%, 29%)
HSVhsv(98, 76%, 47%)
CMYKcmyk(47.9%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.66, -35.34, 41.64)
CIE-LCHlch(44.66, 54.61, 130.32°)
OKLaboklab(51.12% -0.0983 0.0936)
OKLCHoklch(51.12% 0.136 136.4)
XYZxyz(8.7928, 14.3011, 3.3954)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E771C #551C77
analogous
#6C771C #3E771C #1C7727
triadic
#3E771C #1C3E77 #771C3E
tetradic
#3E771C #1C6C77 #551C77 #77271C
square
#3E771C #1C6C77 #551C77 #77271C
split-complementary
#3E771C #271C77 #771C6C
monochromatic
#0D1906 #244510 #3E771C #58A928 #74D13C

Accessibility & contrast

On white

5.44
#3E771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3E771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E771C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E771C#FFFFFF#000000##FFFFFF
##3E771C1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0A
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#3B7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e771c;
/* rgb */ color: rgb(62, 119, 28);
/* oklch */ color: oklch(51.1% 0.136 136.4);
Tailwind
colors: {
  custom: {
    50: '#799f5f',
    500: '#3e771c',
    950: '#000000',
  },
}
SCSS
$custom: #3e771c;
$custom-light: #799f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e771c",
  "rgb": {
    "r": 62,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 97.582,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.13572,
    "h": 136.4
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#3E771C
secondary
#8444AB
accent
#43E5A8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3E771C

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

Preview Lab → · Contrast checker → · Palette generator →

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