#3F7E22#3F7E22

#3F7E22 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.141 H 137.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3F7E22
RGBrgb(63, 126, 34)
HSLhsl(101, 58%, 31%)
HSVhsv(101, 73%, 49%)
CMYKcmyk(50%, 0%, 73%, 50.6%)
CIE-LABlab(47.10, -37.52, 41.74)
CIE-LCHlch(47.10, 56.12, 131.95°)
OKLaboklab(53.14% -0.1038 0.0947)
OKLCHoklch(53.14% 0.141 137.6)
XYZxyz(9.7992, 16.0933, 4.1030)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7E22 #61227E
analogous
#6D7E22 #3F7E22 #227E33
triadic
#3F7E22 #223F7E #7E223F
tetradic
#3F7E22 #226D7E #61227E #7E3322
square
#3F7E22 #226D7E #61227E #7E3322
split-complementary
#3F7E22 #33227E #7E226D
monochromatic
#0F1E08 #274E15 #3F7E22 #57AE2F #75CF4C

Accessibility & contrast

On white

4.98
#3F7E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3F7E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7E22
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7E22#FFFFFF#000000##FFFFFF
##3F7E221.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3B796C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f7e22;
/* rgb */ color: rgb(63, 126, 34);
/* oklch */ color: oklch(53.1% 0.141 137.6);
Tailwind
colors: {
  custom: {
    50: '#7aa463',
    500: '#3f7e22',
    950: '#000000',
  },
}
SCSS
$custom: #3f7e22;
$custom-light: #7aa463;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7e22",
  "rgb": {
    "r": 63,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 101.087,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.1405,
    "h": 137.6
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#3F7E22
secondary
#914BB1
accent
#47E1B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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