#3F8A1C#3F8A1C

#3F8A1C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.159 H 138.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A1C
RGBrgb(63, 138, 28)
HSLhsl(101, 66%, 33%)
HSVhsv(101, 80%, 54%)
CMYKcmyk(54.3%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.06, -42.83, 47.88)
CIE-LCHlch(51.06, 64.24, 131.81°)
OKLaboklab(56.39% -0.1185 0.1067)
OKLCHoklch(56.39% 0.159 138)
XYZxyz(11.3476, 19.3167, 4.2289)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A1C #671C8A
analogous
#768A1C #3F8A1C #1C8A30
triadic
#3F8A1C #1C3F8A #8A1C3F
tetradic
#3F8A1C #1C768A #671C8A #8A301C
square
#3F8A1C #1C768A #671C8A #8A301C
split-complementary
#3F8A1C #301C8A #8A1C76
monochromatic
#112407 #285712 #3F8A1C #56BD26 #76DA47

Accessibility & contrast

On white

4.32
#3F8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A1C#FFFFFF#000000##000000
##3F8A1C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a1c;
/* rgb */ color: rgb(63, 138, 28);
/* oklch */ color: oklch(56.4% 0.159 138.0);
Tailwind
colors: {
  custom: {
    50: '#7dad62',
    500: '#3f8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a1c;
$custom-light: #7dad62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a1c",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 100.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.15943,
    "h": 138
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#3F8A1C
secondary
#9646BB
accent
#3FE9B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3F8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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