#3F8D1C#3F8D1C

#3F8D1C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.163 H 138.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3F8D1C
RGBrgb(63, 141, 28)
HSLhsl(101, 67%, 33%)
HSVhsv(101, 80%, 55%)
CMYKcmyk(55.3%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.05, -44.00, 48.83)
CIE-LCHlch(52.05, 65.73, 132.02°)
OKLaboklab(57.21% -0.1217 0.1086)
OKLCHoklch(57.21% 0.163 138.2)
XYZxyz(11.7839, 20.1894, 4.3744)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D1C #6A1C8D
analogous
#778D1C #3F8D1C #1C8D31
triadic
#3F8D1C #1C3F8D #8D1C3F
tetradic
#3F8D1C #1C778D #6A1C8D #8D311C
square
#3F8D1C #1C778D #6A1C8D #8D311C
split-complementary
#3F8D1C #311C8D #8D1C77
monochromatic
#112708 #285A12 #3F8D1C #56C026 #76DB49

Accessibility & contrast

On white

4.17
#3F8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#3F8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8D1C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8D1C#FFFFFF#000000##000000
##3F8D1C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#388878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d1c;
/* rgb */ color: rgb(63, 141, 28);
/* oklch */ color: oklch(57.2% 0.163 138.2);
Tailwind
colors: {
  custom: {
    50: '#7daf62',
    500: '#3f8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d1c;
$custom-light: #7daf62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d1c",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 101.416,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57208,
    "c": 0.16311,
    "h": 138.2
  },
  "luminance": 0.2019
}

Semantic roles & 50–950 ramp

primary
#3F8D1C
secondary
#9948BD
accent
#3EEAB5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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