#3F8D38#3F8D38

#3F8D38 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.143 H 142.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3F8D38
RGBrgb(63, 141, 56)
HSLhsl(115, 43%, 39%)
HSVhsv(115, 60%, 55%)
CMYKcmyk(55.3%, 0%, 60.3%, 44.7%)
CIE-LABlab(52.28, -41.47, 37.49)
CIE-LCHlch(52.28, 55.90, 137.89°)
OKLaboklab(57.47% -0.1131 0.0883)
OKLCHoklch(57.47% 0.143 142)
XYZxyz(12.2880, 20.3910, 7.0289)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8D38 #86388D
analogous
#698D38 #3F8D38 #388D5B
triadic
#3F8D38 #383F8D #8D383F
tetradic
#3F8D38 #38698D #86388D #8D5B38
square
#3F8D38 #38698D #86388D #8D5B38
split-complementary
#3F8D38 #5B388D #8D3869
monochromatic
#183515 #2B6127 #3F8D38 #54B74B #7DC977

Accessibility & contrast

On white

4.14
#3F8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#3F8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8D38
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8D38#FFFFFF#000000##000000
##3F8D381.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#34897B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f8d38;
/* rgb */ color: rgb(63, 141, 56);
/* oklch */ color: oklch(57.5% 0.143 142.0);
Tailwind
colors: {
  custom: {
    50: '#7caf71',
    500: '#3f8d38',
    950: '#000000',
  },
}
SCSS
$custom: #3f8d38;
$custom-light: #7caf71;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8d38",
  "rgb": {
    "r": 63,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 115.059,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.14345,
    "h": 142
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#3F8D38
secondary
#AC6FB2
accent
#55D3C9
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #3F8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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