#3F8A18#3F8A18

#3F8A18 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.161 H 137.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3F8A18
RGBrgb(63, 138, 24)
HSLhsl(99, 70%, 32%)
HSVhsv(99, 83%, 54%)
CMYKcmyk(54.3%, 0%, 82.6%, 45.9%)
CIE-LABlab(51.03, -43.07, 49.13)
CIE-LCHlch(51.03, 65.33, 131.24°)
OKLaboklab(56.36% -0.1194 0.1087)
OKLCHoklch(56.36% 0.161 137.7)
XYZxyz(11.3029, 19.2988, 3.9934)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A18 #63188A
analogous
#788A18 #3F8A18 #188A2A
triadic
#3F8A18 #183F8A #8A183F
tetradic
#3F8A18 #18788A #63188A #8A2A18
square
#3F8A18 #18788A #63188A #8A2A18
split-complementary
#3F8A18 #2A188A #8A1878
monochromatic
#0F2206 #27560F #3F8A18 #57BE21 #75DE3F

Accessibility & contrast

On white

4.32
#3F8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3F8A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A18#FFFFFF#000000##000000
##3F8A181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#398575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a18;
/* rgb */ color: rgb(63, 138, 24);
/* oklch */ color: oklch(56.4% 0.161 137.7);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#3f8a18',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a18;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a18",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 99.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.16142,
    "h": 137.7
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#3F8A18
secondary
#9340BD
accent
#3BEDB0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8A18

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

Preview Lab → · Contrast checker → · Palette generator →

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