#3F771D#3F771D

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

Color values

HEX#3F771D
RGBrgb(63, 119, 29)
HSLhsl(97, 61%, 29%)
HSVhsv(97, 76%, 47%)
CMYKcmyk(47.1%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.71, -34.92, 41.32)
CIE-LCHlch(44.71, 54.10, 130.20°)
OKLaboklab(51.17% -0.0971 0.0931)
OKLCHoklch(51.17% 0.135 136.2)
XYZxyz(8.8683, 14.3386, 3.4625)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F771D #551D77
analogous
#6C771D #3F771D #1D7728
triadic
#3F771D #1D3F77 #771D3F
tetradic
#3F771D #1D6C77 #551D77 #77281D
square
#3F771D #1D6C77 #551D77 #77281D
split-complementary
#3F771D #281D77 #771D6C
monochromatic
#0D1906 #254611 #3F771D #59A829 #75D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F771D#FFFFFF#000000##FFFFFF
##3F771D1.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)
#7B6D0D
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#3D7266
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f771d;
/* rgb */ color: rgb(63, 119, 29);
/* oklch */ color: oklch(51.2% 0.135 136.2);
Tailwind
colors: {
  custom: {
    50: '#7a9f5f',
    500: '#3f771d',
    950: '#000000',
  },
}
SCSS
$custom: #3f771d;
$custom-light: #7a9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f771d",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 97.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.13454,
    "h": 136.2
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#3F771D
secondary
#8445AB
accent
#44E4A7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F771D

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

Preview Lab → · Contrast checker → · Palette generator →

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