#3F8122#3F8122

#3F8122 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.144 H 137.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3F8122
RGBrgb(63, 129, 34)
HSLhsl(102, 58%, 32%)
HSVhsv(102, 74%, 51%)
CMYKcmyk(51.2%, 0%, 73.6%, 49.4%)
CIE-LABlab(48.10, -38.77, 42.76)
CIE-LCHlch(48.10, 57.72, 132.20°)
OKLaboklab(53.97% -0.1072 0.0969)
OKLCHoklch(53.97% 0.144 137.9)
XYZxyz(10.1885, 16.8720, 4.2328)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8122 #642281
analogous
#6F8122 #3F8122 #228135
triadic
#3F8122 #223F81 #81223F
tetradic
#3F8122 #226F81 #642281 #813522
square
#3F8122 #226F81 #642281 #813522
split-complementary
#3F8122 #352281 #81226F
monochromatic
#102008 #275115 #3F8122 #57B12F #75D04D

Accessibility & contrast

On white

4.80
#3F8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3F8122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8122
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8122#FFFFFF#000000##FFFFFF
##3F81221.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#3A7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8122;
/* rgb */ color: rgb(63, 129, 34);
/* oklch */ color: oklch(54.0% 0.144 137.9);
Tailwind
colors: {
  custom: {
    50: '#7ba663',
    500: '#3f8122',
    950: '#000000',
  },
}
SCSS
$custom: #3f8122;
$custom-light: #7ba663;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8122",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 101.684,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.14445,
    "h": 137.9
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#3F8122
secondary
#944BB3
accent
#46E1B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F8122

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

Preview Lab → · Contrast checker → · Palette generator →

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