#3F802B#3F802B

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

Color values

HEX#3F802B
RGBrgb(63, 128, 43)
HSLhsl(106, 50%, 34%)
HSVhsv(106, 66%, 50%)
CMYKcmyk(50.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.84, -37.53, 38.62)
CIE-LCHlch(47.84, 53.85, 134.18°)
OKLaboklab(53.78% -0.1032 0.0893)
OKLCHoklch(53.78% 0.136 139.1)
XYZxyz(10.2047, 16.6688, 4.9647)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F802B #6C2B80
analogous
#69802B #3F802B #2B8041
triadic
#3F802B #2B3F80 #802B3F
tetradic
#3F802B #2B6980 #6C2B80 #80412B
square
#3F802B #2B6980 #6C2B80 #80412B
split-complementary
#3F802B #412B80 #802B69
monochromatic
#12240C #28521C #3F802B #56AE3A #76C95D

Accessibility & contrast

On white

4.85
#3F802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3F802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F802B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F802B#FFFFFF#000000##FFFFFF
##3F802B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#397C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f802b;
/* rgb */ color: rgb(63, 128, 43);
/* oklch */ color: oklch(53.8% 0.136 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aa568',
    500: '#3f802b',
    950: '#000000',
  },
}
SCSS
$custom: #3f802b;
$custom-light: #7aa568;
$custom-dark: #000000;
JSON
{
  "hex": "#3f802b",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 105.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.13647,
    "h": 139.1
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#3F802B
secondary
#9A58AE
accent
#4FD9B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F802B

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

Preview Lab → · Contrast checker → · Palette generator →

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