#3F771B#3F771B

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

Color values

HEX#3F771B
RGBrgb(63, 119, 27)
HSLhsl(97, 63%, 29%)
HSVhsv(97, 77%, 47%)
CMYKcmyk(47.1%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.70, -35.07, 42.07)
CIE-LCHlch(44.70, 54.77, 129.81°)
OKLaboklab(51.16% -0.0977 0.0944)
OKLCHoklch(51.16% 0.136 136)
XYZxyz(8.8443, 14.3290, 3.3364)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F771B #531B77
analogous
#6D771B #3F771B #1B7725
triadic
#3F771B #1B3F77 #771B3F
tetradic
#3F771B #1B6D77 #531B77 #77251B
square
#3F771B #1B6D77 #531B77 #77251B
split-complementary
#3F771B #251B77 #771B6D
monochromatic
#0D1906 #254510 #3F771B #59A926 #76D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F771B#FFFFFF#000000##FFFFFF
##3F771B1.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)
#7B6D08
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#3D7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f771b;
/* rgb */ color: rgb(63, 119, 27);
/* oklch */ color: oklch(51.2% 0.136 136.0);
Tailwind
colors: {
  custom: {
    50: '#7a9f5e',
    500: '#3f771b',
    950: '#000000',
  },
}
SCSS
$custom: #3f771b;
$custom-light: #7a9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f771b",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 96.522,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.13581,
    "h": 136
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#3F771B
secondary
#8242AB
accent
#42E6A6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F771B

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

Preview Lab → · Contrast checker → · Palette generator →

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