#3F8F17#3F8F17

#3F8F17 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.168 H 138.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3F8F17
RGBrgb(63, 143, 23)
HSLhsl(100, 72%, 33%)
HSVhsv(100, 84%, 56%)
CMYKcmyk(55.9%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.69, -45.05, 50.94)
CIE-LCHlch(52.69, 68.00, 131.49°)
OKLaboklab(57.73% -0.1248 0.1123)
OKLCHoklch(57.73% 0.168 138)
XYZxyz(12.0266, 20.7626, 4.1843)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F17 #67178F
analogous
#7B8F17 #3F8F17 #178F2B
triadic
#3F8F17 #173F8F #8F173F
tetradic
#3F8F17 #177B8F #67178F #8F2B17
square
#3F8F17 #177B8F #67178F #8F2B17
split-complementary
#3F8F17 #2B178F #8F177B
monochromatic
#112606 #285A0F #3F8F17 #56C41F #76E040

Accessibility & contrast

On white

4.08
#3F8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3F8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F17#FFFFFF#000000##000000
##3F8F171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#388A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f17;
/* rgb */ color: rgb(63, 143, 23);
/* oklch */ color: oklch(57.7% 0.168 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#3f8f17',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f17;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f17",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.16786,
    "h": 138
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#3F8F17
secondary
#9641C1
accent
#39EFB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #3F8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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