#3F8A2B#3F8A2B

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

Color values

HEX#3F8A2B
RGBrgb(63, 138, 43)
HSLhsl(107, 52%, 35%)
HSVhsv(107, 69%, 54%)
CMYKcmyk(54.3%, 0%, 68.8%, 45.9%)
CIE-LABlab(51.16, -41.66, 42.22)
CIE-LCHlch(51.16, 59.31, 134.62°)
OKLaboklab(56.51% -0.1144 0.0969)
OKLCHoklch(56.51% 0.15 139.7)
XYZxyz(11.5739, 19.4072, 5.4211)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A2B #762B8A
analogous
#6E8A2B #3F8A2B #2B8A46
triadic
#3F8A2B #2B3F8A #8A2B3F
tetradic
#3F8A2B #2B6E8A #762B8A #8A462B
square
#3F8A2B #2B6E8A #762B8A #8A462B
split-complementary
#3F8A2B #462B8A #8A2B6E
monochromatic
#142D0E #2A5B1C #3F8A2B #54B93A #78CE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8A2B#FFFFFF#000000##000000
##3F8A2B1.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)
#8E7E1E
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#378577
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a2b;
/* rgb */ color: rgb(63, 138, 43);
/* oklch */ color: oklch(56.5% 0.150 139.7);
Tailwind
colors: {
  custom: {
    50: '#7cad69',
    500: '#3f8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a2b;
$custom-light: #7cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a2b",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 107.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.14991,
    "h": 139.7
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#3F8A2B
secondary
#A25DB4
accent
#4CDCBE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #3F8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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