#3F8B22#3F8B22

#3F8B22 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.157 H 138.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3F8B22
RGBrgb(63, 139, 34)
HSLhsl(103, 61%, 34%)
HSVhsv(103, 76%, 55%)
CMYKcmyk(54.7%, 0%, 75.5%, 45.5%)
CIE-LABlab(51.42, -42.81, 46.12)
CIE-LCHlch(51.42, 62.93, 132.87°)
OKLaboklab(56.7% -0.1181 0.1039)
OKLCHoklch(56.7% 0.157 138.7)
XYZxyz(11.5708, 19.6366, 4.6936)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B22 #6E228B
analogous
#748B22 #3F8B22 #228B3A
triadic
#3F8B22 #223F8B #8B223F
tetradic
#3F8B22 #22748B #6E228B #8B3A22
square
#3F8B22 #22748B #6E228B #8B3A22
split-complementary
#3F8B22 #3A228B #8B2274
monochromatic
#12290A #295A16 #3F8B22 #55BC2E #77D553

Accessibility & contrast

On white

4.26
#3F8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3F8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B22
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B22#FFFFFF#000000##000000
##3F8B221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f8b22;
/* rgb */ color: rgb(63, 139, 34);
/* oklch */ color: oklch(56.7% 0.157 138.7);
Tailwind
colors: {
  custom: {
    50: '#7cad65',
    500: '#3f8b22',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b22;
$custom-light: #7cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b22",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 103.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.15727,
    "h": 138.7
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#3F8B22
secondary
#9C50B8
accent
#44E4B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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