#3F8F22#3F8F22

#3F8F22 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.162 H 138.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3F8F22
RGBrgb(63, 143, 34)
HSLhsl(104, 62%, 35%)
HSVhsv(104, 76%, 56%)
CMYKcmyk(55.9%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.75, -44.38, 47.44)
CIE-LCHlch(52.75, 64.96, 133.09°)
OKLaboklab(57.79% -0.1223 0.1066)
OKLCHoklch(57.79% 0.162 138.9)
XYZxyz(12.1606, 20.8162, 4.8902)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F22 #72228F
analogous
#758F22 #3F8F22 #228F3C
triadic
#3F8F22 #223F8F #8F223F
tetradic
#3F8F22 #22758F #72228F #8F3C22
square
#3F8F22 #22758F #72228F #8F3C22
split-complementary
#3F8F22 #3C228F #8F2275
monochromatic
#132C0A #295E16 #3F8F22 #55C02E #77D755

Accessibility & contrast

On white

4.07
#3F8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#3F8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F22#FFFFFF#000000##000000
##3F8F221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820B
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#378A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f22;
/* rgb */ color: rgb(63, 143, 34);
/* oklch */ color: oklch(57.8% 0.162 138.9);
Tailwind
colors: {
  custom: {
    50: '#7db065',
    500: '#3f8f22',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f22;
$custom-light: #7db065;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f22",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 104.037,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.16226,
    "h": 138.9
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

primary
#3F8F22
secondary
#9F52BA
accent
#43E5BA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3F8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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