#3F8D1B#3F8D1B

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

Color values

HEX#3F8D1B
RGBrgb(63, 141, 27)
HSLhsl(101, 68%, 33%)
HSVhsv(101, 81%, 55%)
CMYKcmyk(55.3%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.05, -44.06, 49.15)
CIE-LCHlch(52.05, 66.01, 131.88°)
OKLaboklab(57.2% -0.1219 0.1092)
OKLCHoklch(57.2% 0.164 138.2)
XYZxyz(11.7722, 20.1847, 4.3124)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D1B #691B8D
analogous
#788D1B #3F8D1B #1B8D30
triadic
#3F8D1B #1B3F8D #8D1B3F
tetradic
#3F8D1B #1B788D #691B8D #8D301B
square
#3F8D1B #1B788D #691B8D #8D301B
split-complementary
#3F8D1B #301B8D #8D1B78
monochromatic
#112607 #285A11 #3F8D1B #56C025 #76DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8D1B#FFFFFF#000000##000000
##3F8D1B1.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)
#887A28
Tritanopia (blue-blind)
#388878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f8d1b;
/* rgb */ color: rgb(63, 141, 27);
/* oklch */ color: oklch(57.2% 0.164 138.2);
Tailwind
colors: {
  custom: {
    50: '#7daf62',
    500: '#3f8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d1b;
$custom-light: #7daf62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d1b",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 101.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.16361,
    "h": 138.2
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#3F8D1B
secondary
#9846BD
accent
#3DEBB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #3F8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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