#3F771C#3F771C

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

Color values

HEX#3F771C
RGBrgb(63, 119, 28)
HSLhsl(97, 62%, 29%)
HSVhsv(97, 76%, 47%)
CMYKcmyk(47.1%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.71, -35.00, 41.70)
CIE-LCHlch(44.71, 54.44, 130.01°)
OKLaboklab(51.17% -0.0974 0.0937)
OKLCHoklch(51.17% 0.135 136.1)
XYZxyz(8.8561, 14.3337, 3.3984)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F771C #541C77
analogous
#6D771C #3F771C #1C7727
triadic
#3F771C #1C3F77 #771C3F
tetradic
#3F771C #1C6D77 #541C77 #77271C
square
#3F771C #1C6D77 #541C77 #77271C
split-complementary
#3F771C #271C77 #771C6D
monochromatic
#0D1906 #254510 #3F771C #59A928 #76D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F771C#FFFFFF#000000##FFFFFF
##3F771C1.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)
#7B6D0A
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#3D7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f771c;
/* rgb */ color: rgb(63, 119, 28);
/* oklch */ color: oklch(51.2% 0.135 136.1);
Tailwind
colors: {
  custom: {
    50: '#7a9f5f',
    500: '#3f771c',
    950: '#000000',
  },
}
SCSS
$custom: #3f771c;
$custom-light: #7a9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f771c",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 96.923,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.13518,
    "h": 136.1
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#3F771C
secondary
#8344AB
accent
#43E5A7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F771C

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

Preview Lab → · Contrast checker → · Palette generator →

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