#3F7C22#3F7C22

#3F7C22 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.138 H 137.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3F7C22
RGBrgb(63, 124, 34)
HSLhsl(101, 57%, 31%)
HSVhsv(101, 73%, 49%)
CMYKcmyk(49.2%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.43, -36.67, 41.05)
CIE-LCHlch(46.43, 55.04, 131.78°)
OKLaboklab(52.59% -0.1015 0.0933)
OKLCHoklch(52.59% 0.138 137.4)
XYZxyz(9.5460, 15.5869, 4.0186)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7C22 #5F227C
analogous
#6C7C22 #3F7C22 #227C32
triadic
#3F7C22 #223F7C #7C223F
tetradic
#3F7C22 #226C7C #5F227C #7C3222
square
#3F7C22 #226C7C #5F227C #7C3222
split-complementary
#3F7C22 #32227C #7C226C
monochromatic
#0E1C08 #274C15 #3F7C22 #57AC2F #75CE4B

Accessibility & contrast

On white

5.10
#3F7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3F7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7C22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7C22#FFFFFF#000000##FFFFFF
##3F7C221.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#3B776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f7c22;
/* rgb */ color: rgb(63, 124, 34);
/* oklch */ color: oklch(52.6% 0.138 137.4);
Tailwind
colors: {
  custom: {
    50: '#7aa263',
    500: '#3f7c22',
    950: '#000000',
  },
}
SCSS
$custom: #3f7c22;
$custom-light: #7aa263;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7c22",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 100.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.13784,
    "h": 137.4
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#3F7C22
secondary
#8F4BAF
accent
#48E0AF
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3F7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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