#3F981A#3F981A

#3F981A is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.2% C 0.177 H 138.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F981A
RGBrgb(63, 152, 26)
HSLhsl(102, 71%, 35%)
HSVhsv(102, 83%, 60%)
CMYKcmyk(58.6%, 0%, 82.9%, 40.4%)
CIE-LABlab(55.67, -48.28, 52.82)
CIE-LCHlch(55.67, 71.56, 132.43°)
OKLaboklab(60.19% -0.1333 0.1167)
OKLCHoklch(60.19% 0.177 138.8)
XYZxyz(13.4641, 23.5867, 4.8202)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F981A #731A98
analogous
#7E981A #3F981A #1A9834
triadic
#3F981A #1A3F98 #981A3F
tetradic
#3F981A #1A7E98 #731A98 #98341A
square
#3F981A #1A7E98 #731A98 #98341A
split-complementary
#3F981A #341A98 #981A7E
monochromatic
#142F08 #296411 #3F981A #55CC23 #78E04C

Accessibility & contrast

On white

3.67
#3F981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#3F981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F981A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F981A#FFFFFF#000000##000000
##3F981A1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#369381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3f981a;
/* rgb */ color: rgb(63, 152, 26);
/* oklch */ color: oklch(60.2% 0.177 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb763',
    500: '#3f981a',
    950: '#000000',
  },
}
SCSS
$custom: #3f981a;
$custom-light: #7fb763;
$custom-dark: #000000;
JSON
{
  "hex": "#3f981a",
  "rgb": {
    "r": 63,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 102.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.17714,
    "h": 138.8
  },
  "luminance": 0.23588
}

Semantic roles & 50–950 ramp

primary
#3F981A
secondary
#9F4BC2
accent
#3AEEB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F981A

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

Preview Lab → · Contrast checker → · Palette generator →

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