#3F8E1B#3F8E1B

#3F8E1B is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.165 H 138.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3F8E1B
RGBrgb(63, 142, 27)
HSLhsl(101, 68%, 33%)
HSVhsv(101, 81%, 56%)
CMYKcmyk(55.6%, 0%, 81%, 44.3%)
CIE-LABlab(52.38, -44.45, 49.46)
CIE-LCHlch(52.38, 66.50, 131.95°)
OKLaboklab(57.48% -0.1229 0.1098)
OKLCHoklch(57.48% 0.165 138.2)
XYZxyz(11.9203, 20.4809, 4.3618)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8E1B #6A1B8E
analogous
#788E1B #3F8E1B #1B8E30
triadic
#3F8E1B #1B3F8E #8E1B3F
tetradic
#3F8E1B #1B788E #6A1B8E #8E301B
square
#3F8E1B #1B788E #6A1B8E #8E301B
split-complementary
#3F8E1B #301B8E #8E1B78
monochromatic
#112707 #285B11 #3F8E1B #56C125 #76DC47

Accessibility & contrast

On white

4.12
#3F8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#3F8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8E1B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8E1B#FFFFFF#000000##000000
##3F8E1B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#388979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f8e1b;
/* rgb */ color: rgb(63, 142, 27);
/* oklch */ color: oklch(57.5% 0.165 138.2);
Tailwind
colors: {
  custom: {
    50: '#7db062',
    500: '#3f8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #3f8e1b;
$custom-light: #7db062;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8e1b",
  "rgb": {
    "r": 63,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 101.217,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.16482,
    "h": 138.2
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#3F8E1B
secondary
#9947BE
accent
#3DEBB4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #3F8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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