#3F802F#3F802F

#3F802F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.8% C 0.133 H 139.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3F802F
RGBrgb(63, 128, 47)
HSLhsl(108, 46%, 34%)
HSVhsv(108, 63%, 50%)
CMYKcmyk(50.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.88, -37.10, 36.79)
CIE-LCHlch(47.88, 52.25, 135.24°)
OKLaboklab(53.82% -0.1017 0.0859)
OKLCHoklch(53.82% 0.133 139.8)
XYZxyz(10.2817, 16.6996, 5.3703)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F802F #702F80
analogous
#68802F #3F802F #2F8048
triadic
#3F802F #2F3F80 #802F3F
tetradic
#3F802F #2F6880 #702F80 #80482F
square
#3F802F #2F6880 #702F80 #80482F
split-complementary
#3F802F #482F80 #802F68
monochromatic
#13260E #29531F #3F802F #55AD3F #77C663

Accessibility & contrast

On white

4.84
#3F802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3F802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F802F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F802F#FFFFFF#000000##FFFFFF
##3F802F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#397C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f802f;
/* rgb */ color: rgb(63, 128, 47);
/* oklch */ color: oklch(53.8% 0.133 139.8);
Tailwind
colors: {
  custom: {
    50: '#7aa56b',
    500: '#3f802f',
    950: '#000000',
  },
}
SCSS
$custom: #3f802f;
$custom-light: #7aa56b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f802f",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 108.148,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.13315,
    "h": 139.8
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#3F802F
secondary
#9D5EAD
accent
#52D6BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #3F802F

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

Preview Lab → · Contrast checker → · Palette generator →

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