#3F8A22#3F8A22

#3F8A22 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.156 H 138.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8A22
RGBrgb(63, 138, 34)
HSLhsl(103, 60%, 34%)
HSVhsv(103, 75%, 54%)
CMYKcmyk(54.3%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.09, -42.42, 45.79)
CIE-LCHlch(51.09, 62.42, 132.81°)
OKLaboklab(56.43% -0.117 0.1032)
OKLCHoklch(56.43% 0.156 138.6)
XYZxyz(11.4267, 19.3483, 4.6455)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A22 #6D228A
analogous
#738A22 #3F8A22 #228A39
triadic
#3F8A22 #223F8A #8A223F
tetradic
#3F8A22 #22738A #6D228A #8A3922
square
#3F8A22 #22738A #6D228A #8A3922
split-complementary
#3F8A22 #39228A #8A2273
monochromatic
#12280A #295916 #3F8A22 #55BB2E #76D452

Accessibility & contrast

On white

4.31
#3F8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A22
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A22#FFFFFF#000000##000000
##3F8A221.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#388576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a22;
/* rgb */ color: rgb(63, 138, 34);
/* oklch */ color: oklch(56.4% 0.156 138.6);
Tailwind
colors: {
  custom: {
    50: '#7cad64',
    500: '#3f8a22',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a22;
$custom-light: #7cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a22",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 103.269,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.15601,
    "h": 138.6
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#3F8A22
secondary
#9B50B8
accent
#44E4B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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