#3F8F2B#3F8F2B

#3F8F2B is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.156 H 140.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F8F2B
RGBrgb(63, 143, 43)
HSLhsl(108, 54%, 36%)
HSVhsv(108, 70%, 56%)
CMYKcmyk(55.9%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.81, -43.65, 43.98)
CIE-LCHlch(52.81, 61.96, 134.78°)
OKLaboklab(57.87% -0.1198 0.1006)
OKLCHoklch(57.87% 0.156 140)
XYZxyz(12.3079, 20.8751, 5.6657)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F2B #7B2B8F
analogous
#718F2B #3F8F2B #2B8F49
triadic
#3F8F2B #2B3F8F #8F2B3F
tetradic
#3F8F2B #2B718F #7B2B8F #8F492B
square
#3F8F2B #2B718F #7B2B8F #8F492B
split-complementary
#3F8F2B #492B8F #8F2B71
monochromatic
#16310F #2A601D #3F8F2B #54BE39 #7AD064

Accessibility & contrast

On white

4.06
#3F8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3F8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F2B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F2B#FFFFFF#000000##000000
##3F8F2B1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#368A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f2b;
/* rgb */ color: rgb(63, 143, 43);
/* oklch */ color: oklch(57.9% 0.156 140.0);
Tailwind
colors: {
  custom: {
    50: '#7db06a',
    500: '#3f8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f2b;
$custom-light: #7db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f2b",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 108,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.15642,
    "h": 140
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#3F8F2B
secondary
#A55FB7
accent
#4BDDC0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #3F8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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