#3F7A22#3F7A22

#3F7A22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.135 H 137.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3F7A22
RGBrgb(63, 122, 34)
HSLhsl(100, 56%, 31%)
HSVhsv(100, 72%, 48%)
CMYKcmyk(48.4%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.76, -35.82, 40.35)
CIE-LCHlch(45.76, 53.95, 131.59°)
OKLaboklab(52.04% -0.0992 0.0918)
OKLCHoklch(52.04% 0.135 137.2)
XYZxyz(9.2979, 15.0907, 3.9359)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7A22 #5D227A
analogous
#6B7A22 #3F7A22 #227A31
triadic
#3F7A22 #223F7A #7A223F
tetradic
#3F7A22 #226B7A #5D227A #7A3122
square
#3F7A22 #226B7A #5D227A #7A3122
split-complementary
#3F7A22 #31227A #7A226B
monochromatic
#0E1A07 #264A15 #3F7A22 #58AA2F #75CD4A

Accessibility & contrast

On white

5.23
#3F7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3F7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7A22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7A22#FFFFFF#000000##FFFFFF
##3F7A221.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#3C7668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f7a22;
/* rgb */ color: rgb(63, 122, 34);
/* oklch */ color: oklch(52.0% 0.135 137.2);
Tailwind
colors: {
  custom: {
    50: '#7aa162',
    500: '#3f7a22',
    950: '#000000',
  },
}
SCSS
$custom: #3f7a22;
$custom-light: #7aa162;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7a22",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 100.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.13514,
    "h": 137.2
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#3F7A22
secondary
#8D4BAD
accent
#48E0AE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #3F7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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