#3F802D#3F802D

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

Color values

HEX#3F802D
RGBrgb(63, 128, 45)
HSLhsl(107, 48%, 34%)
HSVhsv(107, 65%, 50%)
CMYKcmyk(50.8%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.86, -37.32, 37.71)
CIE-LCHlch(47.86, 53.06, 134.70°)
OKLaboklab(53.8% -0.1025 0.0876)
OKLCHoklch(53.8% 0.135 139.5)
XYZxyz(10.2423, 16.6838, 5.1627)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F802D #6E2D80
analogous
#69802D #3F802D #2D8045
triadic
#3F802D #2D3F80 #802D3F
tetradic
#3F802D #2D6980 #6E2D80 #80452D
square
#3F802D #2D6980 #6E2D80 #80452D
split-complementary
#3F802D #452D80 #802D69
monochromatic
#12250D #29531D #3F802D #55AD3D #77C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F802D#FFFFFF#000000##FFFFFF
##3F802D1.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)
#847523
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#397C6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f802d;
/* rgb */ color: rgb(63, 128, 45);
/* oklch */ color: oklch(53.8% 0.135 139.5);
Tailwind
colors: {
  custom: {
    50: '#7aa56a',
    500: '#3f802d',
    950: '#000000',
  },
}
SCSS
$custom: #3f802d;
$custom-light: #7aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f802d",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 106.988,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.13484,
    "h": 139.5
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#3F802D
secondary
#9C5BAE
accent
#50D8BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F802D

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

Preview Lab → · Contrast checker → · Palette generator →

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