#3F802C#3F802C

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

Color values

HEX#3F802C
RGBrgb(63, 128, 44)
HSLhsl(106, 49%, 34%)
HSVhsv(106, 66%, 50%)
CMYKcmyk(50.8%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.85, -37.43, 38.17)
CIE-LCHlch(47.85, 53.46, 134.44°)
OKLaboklab(53.79% -0.1028 0.0885)
OKLCHoklch(53.79% 0.136 139.3)
XYZxyz(10.2233, 16.6762, 5.0625)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F802C #6D2C80
analogous
#69802C #3F802C #2C8043
triadic
#3F802C #2C3F80 #802C3F
tetradic
#3F802C #2C6980 #6D2C80 #80432C
square
#3F802C #2C6980 #6D2C80 #80432C
split-complementary
#3F802C #432C80 #802C69
monochromatic
#12250D #29521C #3F802C #55AE3C #76C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F802C#FFFFFF#000000##FFFFFF
##3F802C1.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)
#847522
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#397C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f802c;
/* rgb */ color: rgb(63, 128, 44);
/* oklch */ color: oklch(53.8% 0.136 139.3);
Tailwind
colors: {
  custom: {
    50: '#7aa569',
    500: '#3f802c',
    950: '#000000',
  },
}
SCSS
$custom: #3f802c;
$custom-light: #7aa569;
$custom-dark: #000000;
JSON
{
  "hex": "#3f802c",
  "rgb": {
    "r": 63,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 106.429,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.13567,
    "h": 139.3
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

primary
#3F802C
secondary
#9B5AAE
accent
#4FD8B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3F802C

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

Preview Lab → · Contrast checker → · Palette generator →

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