#3F771F#3F771F

#3F771F is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.133 H 136.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3F771F
RGBrgb(63, 119, 31)
HSLhsl(98, 59%, 29%)
HSVhsv(98, 74%, 47%)
CMYKcmyk(47.1%, 0%, 73.9%, 53.3%)
CIE-LABlab(44.73, -34.77, 40.53)
CIE-LCHlch(44.73, 53.40, 130.62°)
OKLaboklab(51.19% -0.0966 0.0917)
OKLCHoklch(51.19% 0.133 136.5)
XYZxyz(8.8938, 14.3488, 3.5970)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F771F #571F77
analogous
#6B771F #3F771F #1F772B
triadic
#3F771F #1F3F77 #771F3F
tetradic
#3F771F #1F6B77 #571F77 #772B1F
square
#3F771F #1F6B77 #571F77 #772B1F
split-complementary
#3F771F #2B1F77 #771F6B
monochromatic
#0D1806 #254612 #3F771F #59A82C #75CE43

Accessibility & contrast

On white

5.43
#3F771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3F771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F771F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F771F#FFFFFF#000000##FFFFFF
##3F771F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D10
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#3C7266
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f771f;
/* rgb */ color: rgb(63, 119, 31);
/* oklch */ color: oklch(51.2% 0.133 136.5);
Tailwind
colors: {
  custom: {
    50: '#799f61',
    500: '#3f771f',
    950: '#000000',
  },
}
SCSS
$custom: #3f771f;
$custom-light: #799f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3f771f",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 98.182,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.13319,
    "h": 136.5
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#3F771F
secondary
#8647AB
accent
#46E2A9
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F771F

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

Preview Lab → · Contrast checker → · Palette generator →

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