#3F802A#3F802A

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

Color values

HEX#3F802A
RGBrgb(63, 128, 42)
HSLhsl(105, 51%, 33%)
HSVhsv(105, 67%, 50%)
CMYKcmyk(50.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.83, -37.63, 39.06)
CIE-LCHlch(47.83, 54.24, 133.93°)
OKLaboklab(53.77% -0.1035 0.0901)
OKLCHoklch(53.77% 0.137 139)
XYZxyz(10.1866, 16.6615, 4.8693)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F802A #6B2A80
analogous
#6A802A #3F802A #2A8040
triadic
#3F802A #2A3F80 #802A3F
tetradic
#3F802A #2A6A80 #6B2A80 #80402A
square
#3F802A #2A6A80 #6B2A80 #80402A
split-complementary
#3F802A #402A80 #802A6A
monochromatic
#12240C #28521B #3F802A #56AE39 #76C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F802A#FFFFFF#000000##FFFFFF
##3F802A1.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)
#84751F
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#3A7C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f802a;
/* rgb */ color: rgb(63, 128, 42);
/* oklch */ color: oklch(53.8% 0.137 139.0);
Tailwind
colors: {
  custom: {
    50: '#7aa568',
    500: '#3f802a',
    950: '#000000',
  },
}
SCSS
$custom: #3f802a;
$custom-light: #7aa568;
$custom-dark: #000000;
JSON
{
  "hex": "#3f802a",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 105.349,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.13727,
    "h": 139
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#3F802A
secondary
#9957AF
accent
#4EDAB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F802A

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

Preview Lab → · Contrast checker → · Palette generator →

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