#3F8221#3F8221

#3F8221 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.146 H 137.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3F8221
RGBrgb(63, 130, 33)
HSLhsl(101, 60%, 32%)
HSVhsv(101, 75%, 51%)
CMYKcmyk(51.5%, 0%, 74.6%, 49%)
CIE-LABlab(48.42, -39.26, 43.49)
CIE-LCHlch(48.42, 58.59, 132.07°)
OKLaboklab(54.23% -0.1086 0.0982)
OKLCHoklch(54.23% 0.146 137.9)
XYZxyz(10.3067, 17.1311, 4.2021)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8221 #642182
analogous
#708221 #3F8221 #218233
triadic
#3F8221 #213F82 #82213F
tetradic
#3F8221 #217082 #642182 #823321
square
#3F8221 #217082 #642182 #823321
split-complementary
#3F8221 #332182 #822170
monochromatic
#102008 #275115 #3F8221 #57B32D #75D24C

Accessibility & contrast

On white

4.74
#3F8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3F8221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8221
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8221#FFFFFF#000000##FFFFFF
##3F82211.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#3A7D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f8221;
/* rgb */ color: rgb(63, 130, 33);
/* oklch */ color: oklch(54.2% 0.146 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba763',
    500: '#3f8221',
    950: '#000000',
  },
}
SCSS
$custom: #3f8221;
$custom-light: #7ba763;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8221",
  "rgb": {
    "r": 63,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 101.443,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.14641,
    "h": 137.9
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#3F8221
secondary
#944AB4
accent
#45E3B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F8221

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

Preview Lab → · Contrast checker → · Palette generator →

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