#3F8B18#3F8B18

#3F8B18 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.6% C 0.163 H 137.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3F8B18
RGBrgb(63, 139, 24)
HSLhsl(100, 71%, 32%)
HSVhsv(100, 83%, 55%)
CMYKcmyk(54.7%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.37, -43.46, 49.44)
CIE-LCHlch(51.37, 65.82, 131.32°)
OKLaboklab(56.64% -0.1204 0.1093)
OKLCHoklch(56.64% 0.163 137.8)
XYZxyz(11.4470, 19.5871, 4.0414)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B18 #64188B
analogous
#798B18 #3F8B18 #188B2B
triadic
#3F8B18 #183F8B #8B183F
tetradic
#3F8B18 #18798B #64188B #8B2B18
square
#3F8B18 #18798B #64188B #8B2B18
split-complementary
#3F8B18 #2B188B #8B1879
monochromatic
#102306 #27570F #3F8B18 #57BF21 #75DE3F

Accessibility & contrast

On white

4.27
#3F8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3F8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B18#FFFFFF#000000##000000
##3F8B181.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#398676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8b18;
/* rgb */ color: rgb(63, 139, 24);
/* oklch */ color: oklch(56.6% 0.163 137.8);
Tailwind
colors: {
  custom: {
    50: '#7dad60',
    500: '#3f8b18',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b18;
$custom-light: #7dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b18",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 99.652,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.16263,
    "h": 137.8
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#3F8B18
secondary
#9440BE
accent
#3AEDB1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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