#3F8A2A#3F8A2A

#3F8A2A is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.151 H 139.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3F8A2A
RGBrgb(63, 138, 42)
HSLhsl(107, 53%, 35%)
HSVhsv(107, 70%, 54%)
CMYKcmyk(54.3%, 0%, 69.6%, 45.9%)
CIE-LABlab(51.15, -41.75, 42.64)
CIE-LCHlch(51.15, 59.67, 134.40°)
OKLaboklab(56.5% -0.1147 0.0977)
OKLCHoklch(56.5% 0.151 139.6)
XYZxyz(11.5558, 19.4000, 5.3257)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A2A #752A8A
analogous
#6F8A2A #3F8A2A #2A8A45
triadic
#3F8A2A #2A3F8A #8A2A3F
tetradic
#3F8A2A #2A6F8A #752A8A #8A452A
square
#3F8A2A #2A6F8A #752A8A #8A452A
split-complementary
#3F8A2A #452A8A #8A2A6F
monochromatic
#142C0D #2A5B1C #3F8A2A #54B938 #78CF60

Accessibility & contrast

On white

4.30
#3F8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3F8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A2A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A2A#FFFFFF#000000##000000
##3F8A2A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#378577
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a2a;
/* rgb */ color: rgb(63, 138, 42);
/* oklch */ color: oklch(56.5% 0.151 139.6);
Tailwind
colors: {
  custom: {
    50: '#7cad69',
    500: '#3f8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a2a;
$custom-light: #7cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a2a",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 106.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.15065,
    "h": 139.6
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#3F8A2A
secondary
#A15BB4
accent
#4BDDBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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