#3F8F18#3F8F18

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

Color values

HEX#3F8F18
RGBrgb(63, 143, 24)
HSLhsl(100, 71%, 33%)
HSVhsv(100, 83%, 56%)
CMYKcmyk(55.9%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.69, -45.00, 50.66)
CIE-LCHlch(52.69, 67.76, 131.62°)
OKLaboklab(57.73% -0.1246 0.1119)
OKLCHoklch(57.73% 0.167 138.1)
XYZxyz(12.0368, 20.7667, 4.2380)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F18 #68188F
analogous
#7A8F18 #3F8F18 #188F2C
triadic
#3F8F18 #183F8F #8F183F
tetradic
#3F8F18 #187A8F #68188F #8F2C18
square
#3F8F18 #187A8F #68188F #8F2C18
split-complementary
#3F8F18 #2C188F #8F187A
monochromatic
#112606 #285B0F #3F8F18 #56C321 #76DF42

Accessibility & contrast

On white

4.07
#3F8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F8F18#FFFFFF#000000##000000
##3F8F181.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f8f18;
/* rgb */ color: rgb(63, 143, 24);
/* oklch */ color: oklch(57.7% 0.167 138.1);
Tailwind
colors: {
  custom: {
    50: '#7eb061',
    500: '#3f8f18',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f18;
$custom-light: #7eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f18",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 100.336,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.16742,
    "h": 138.1
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#3F8F18
secondary
#9743C0
accent
#3AEEB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #3F8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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